gatelogue_types.Direction
- class gatelogue_types.Direction(direction: ID, forward_label: str | None, backward_label: str | None, one_way: bool | Sourced[bool] = False)
Bases:
Struct
- __init__()
Methods
NS
()__init__
()Attributes
Describes the direction taken when travelling from the station/stop in
forward_towards_code
Reference to or ID of the station/stop that the other fields take with respect to.
Describes the direction taken when travelling towards the station/stop in
forward_towards_code
Whether the connection is one-way, ie.
- classmethod NS()
- backward_label: str | None
Describes the direction taken when travelling from the station/stop in
forward_towards_code
- direction: ID
Reference to or ID of the station/stop that the other fields take with respect to. Should be either node of the connection