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

Runtime created classes do not afford user-friendly interface #63

Open
bruno-f-cruz opened this issue Aug 23, 2024 · 0 comments · May be fixed by #64
Open

Runtime created classes do not afford user-friendly interface #63

bruno-f-cruz opened this issue Aug 23, 2024 · 0 comments · May be fixed by #64

Comments

@bruno-f-cruz
Copy link

The way that classes are created during runtime does not afford auto-completion.
There are a few ways to approach this problem.

One would be to overload a few dunder methods to allow IDEs to list object attributes. However this doesn't fix the problem since, before the object is created, the attributes do not exist.

Another way to approach this problem is to take inspiration from automatically generated C wrappers and simply create all classes via templating.

@bruno-f-cruz bruno-f-cruz linked a pull request Aug 23, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant