-
Notifications
You must be signed in to change notification settings - Fork 36
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
cannot use types defined in preceding classes as type annotations #39
Comments
hi @robinzyb, thank you for reporting this issue. This error is due to declaring a static attribute using a forward reference and resolving it later at runtime:
When |
Hi @lucsorel , thank you for the quick reply! Adding a bypassing mechanism is a good idea. I'm looking forward to it. I have drawn uml diagrams for part of the package, which maybe satisfy my needs now. |
Good afternoon
when I ran py2puml I got the error |
hello @Paulo-99 Thank you fro reporting the issue. "type needs to be imported explicitely" is a generic error message that is raised by py2puml when it fails to "understand" the type of a parameter in a class it inspects (probably, the types of |
Dear Developers,
I have encountered the following error when I used py2puml.
I was trying to draw uml diagram of the deepmd package with the command,
I have the error messages:
How should I bypass this implicit-typing errors?
The text was updated successfully, but these errors were encountered: