-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
In my pyscript automation I try to use enum classes like this:
from enum import Enum
class Mode(Enum):
SHUT = 1
BLOCKING = 2
FIXED_OPEN = 3
FULLY_OPEN = 4
Problem
I get the following error message :
2021-01-11 23:15:46 ERROR (MainThread) [...]
FULLY_OPEN = 4
^
AttributeError: 'dict' object has no attribute '_member_names'
Question
Can you please check if it is a bug?!
Metadata
Metadata
Assignees
Labels
No labels