We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To reproduce use
from __future__ import annotations in one of the examples.
from __future__ import annotations
The text was updated successfully, but these errors were encountered:
This seems a bit more complicated than I initially thought. For a summary see here https://stackoverflow.com/a/66744445
Sorry, something went wrong.
A compromise could be to use typing.get_type_hints to attempt to resolve the reference. If it fails, let the routine raise an error.
No branches or pull requests
To reproduce use
from __future__ import annotations
in one of the examples.The text was updated successfully, but these errors were encountered: