Pylance only expects enum item string as second parameter #114
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
No error message and maybe even type hints about which kind of arguments
enum.Enum
can take.See the docs.
Actual behaviour
Message
Expected enum item string as second parameter
while code below is working as intended.Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: