You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to report a user error which leads to creation of seemingly valid S7 object, however, throws an error later.
When within the S7 constructor the function new_object is called and .parent is assigned S7_object instead of S7_object() a class is created without error.
However, when assigning a property to an object of said class it can lead to object is invalid: - Underlying data is corrupt error.
Unfortunately, (and to my surprise) I was not able to create a minimal example reproducing the error so far.
To prevent other users running into this rather hard to debug problem, I would like to discuss a type check for .parent
I would like to report a user error which leads to creation of seemingly valid S7 object, however, throws an error later.
When within the S7
constructor
the functionnew_object
is called and.parent
is assignedS7_object
instead ofS7_object()
a class is created without error.However, when assigning a property to an object of said class it can lead to
object is invalid: - Underlying data is corrupt
error.Unfortunately, (and to my surprise) I was not able to create a minimal example reproducing the error so far.
To prevent other users running into this rather hard to debug problem, I would like to discuss a type check for
.parent
The text was updated successfully, but these errors were encountered: