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

Cannot resolve forward reference in type annotations of "p1.my_class.Subclass": name 'MyEnum' is not defined #381

Open
nbro10 opened this issue Aug 28, 2023 · 3 comments
Assignees

Comments

@nbro10
Copy link

nbro10 commented Aug 28, 2023

Please, see sphinx-doc/sphinx#11460 first.

So, after having read that, you should know that someone suggested me to open the same issue here. I don't know if this is related to sphinx-autodoc-typehints, but I'm opening it here in case it's and in case you know a solution or I'd like to tackle the problem.

@gaborbernat
Copy link
Member

PR welcome.

@nbro10
Copy link
Author

nbro10 commented Aug 28, 2023

I'm not familiar with this codebase. However, once I have some time, I'll start to check it and see if I can provide a solution. I'll let you know (if I don't forget).

@benbovy
Copy link

benbovy commented Oct 10, 2024

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

No branches or pull requests

3 participants