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
The current implementation of dynamized __init__ separates the context for calling the original __init__ implementation, it would be very helpful to mix the two contexts so that arguments which will be added to the init later on by dycode are also accessible.
For instance:
@dy.dynamizeclassMyClass:
x=dy.field()
def__init__(self, a, b, c, ...):
# doing something with x should also be possible
The text was updated successfully, but these errors were encountered:
The current implementation of dynamized
__init__
separates the context for calling the original__init__
implementation, it would be very helpful to mix the two contexts so that arguments which will be added to the init later on bydycode
are also accessible.For instance:
The text was updated successfully, but these errors were encountered: