gatelogue_types.RailCompany
- class gatelogue_types.RailCompany(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[Sourced[ID]] = <factory>, stations: list[Sourced[ID]] = <factory>, local: bool = False)
Bases:
Node,_RailCompany- __init__()
Methods
__init__()Attributes
The ID of the node
List of IDs of all
RailLines the company operatesWhether the company operates within the city, e.g. a metro system.
Name of the Rail company
All sources that prove the node's existence
List of all
RailStations the company's lines stop at- i: ID
The ID of the node
- stations: list[Sourced[ID]]
List of all
RailStations the company’s lines stop at