gatelogue_types.RailCompanyNS
- class gatelogue_types.RailCompanyNS(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[ID] = <factory>, stations: list[ID] = <factory>, local: bool = False)
Bases:
RailCompany
,NodeNS
- __init__()
Methods
NS
()__init__
()Attributes
The ID of the node
List of IDs of all
RailLine
s 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
RailStation
s the company's lines stop at- classmethod NS()
- i: ID
The ID of the node
- stations: list[ID]
List of all
RailStation
s the company’s lines stop at