Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't py.init a nested class #167

Open
gatesn opened this issue Oct 2, 2023 · 3 comments
Open

Can't py.init a nested class #167

gatesn opened this issue Oct 2, 2023 · 3 comments

Comments

@gatesn
Copy link
Contributor

gatesn commented Oct 2, 2023

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

@robert3005
Copy link
Member

Related #45?

@gatesn
Copy link
Contributor Author

gatesn commented Oct 2, 2023

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

@robert3005
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants