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
from enum import Enum class E(Enum): A = 1 a: E.A # error: Invalid type: try using Literal[E.A] instead? [misc] b: 1 # error: Invalid type: try using Literal[1] instead? [valid-type]
I'll fix this when I'm free.
The text was updated successfully, but these errors were encountered:
Looks like this was resolved.
Sorry, something went wrong.
No branches or pull requests
I'll fix this when I'm free.
The text was updated successfully, but these errors were encountered: