Simplify Enum
This commit is contained in:
parent
28aa7f0420
commit
abd53ec404
@ -40,9 +40,7 @@ OneOrMoreWires = Union[Wire, Tuple[Wire, ...]] # One or a tuple of wires
|
||||
MetadataKeys = PlainText # Literal['title', 'description', 'notes', ...]
|
||||
|
||||
|
||||
class Side(Enum):
|
||||
LEFT = auto()
|
||||
RIGHT = auto()
|
||||
Side = Enum("Side", "LEFT RIGHT")
|
||||
|
||||
|
||||
class Metadata(dict):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user