We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce689ed commit b011470Copy full SHA for b011470
edg/core/Ports.py
@@ -22,11 +22,8 @@ class InitializerContextMeta(type):
22
def __call__(cls, *args, **kwargs):
23
"""Hook on construction to store some metadata about its creation.
24
This hooks the top-level __init__ only."""
25
- # TODO initializer_args should be replaced with the prototype system
26
-
27
obj = type.__call__(cls, *args, **kwargs)
28
obj._initializer_args = (args, kwargs) # stores args so it is clone-able
29
30
return obj
31
32
0 commit comments