gatelogue_types.BusCompanyNS
- class gatelogue_types.BusCompanyNS(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[ID] = <factory>, stops: list[ID] = <factory>, local: bool = False)
Bases:
BusCompany
,NodeNS
- __init__()
Methods
NS
()__init__
()Attributes
The ID of the node
List of IDs of all
BusLine
s the company operatesWhether the company operates within the city, e.g. a city bus network.
Name of the bus company
All sources that prove the node's existence
List of all
BusStop
s the company's lines stop at- classmethod NS()
- i: ID
The ID of the node