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