Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,14 +1134,14 @@ def __new__(mcs, name: str, bases: tuple[type, ...], attrs: dict[str, typing.Any


class PlandoConnection(typing.NamedTuple):
class Direction:
class Direction(enum.StrEnum):
entrance = "entrance"
exit = "exit"
both = "both"

entrance: str
exit: str
direction: typing.Literal["entrance", "exit", "both"] # TODO: convert Direction to StrEnum once 3.10 is dropped
direction: Direction
percentage: int = 100


Expand Down
Loading