ziggy-pydust icon indicating copy to clipboard operation
ziggy-pydust copied to clipboard

Can't py.init a nested class

Open gatesn opened this issue 2 years ago • 3 comments

Currently we try to import the class from its containing module, but we fail to navigate a hierarchy of nested classes

gatesn avatar Oct 02 '23 17:10 gatesn

Related #45?

robert3005 avatar Oct 02 '23 17:10 robert3005

Yep, similar. The other one I think can be fixed by calling eagerEval on the class / module definition inside py.class

gatesn avatar Oct 02 '23 17:10 gatesn

The issue there was about instantiating the class. Right now we always check the module for class and never anything else

robert3005 avatar Oct 02 '23 17:10 robert3005