How to resolve "Variable not allowed in type expression" errors? #3486
Unanswered
rohan-mehta
asked this question in
General
Replies: 1 comment 1 reply
-
@rohan-mehta unfortunately now, we'd need to change how we create enums to properly type it I think 🤔 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I have code like this:
On the
do_something
line, I get a type checking error from Pyright:Just wondering if anyone has suggestions on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions