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
it complains TypeError: __init__() missing 1 required positional argument: 'data'
Interestingly, if I remove undefined=Undefined.EXCLUDE, then it seems working :)
The text was updated successfully, but these errors were encountered:
It looks like I can't override init method in a subclass and instantiate the subclass.
Let's assume, my base class, Data is defined as follows:
And ScoredData class inherits Data class as follows:
Now, if I try to instantiate ScoredData as follows:
it complains
TypeError: __init__() missing 1 required positional argument: 'data'
Interestingly, if I remove undefined=Undefined.EXCLUDE, then it seems working :)
The text was updated successfully, but these errors were encountered: