gatelogue_types.BusCompany
- class gatelogue_types.BusCompany(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[Sourced[ID]] = <factory>, stops: list[Sourced[ID]] = <factory>, local: bool = False)
Bases:
Node,_BusCompany- __init__()
Methods
__init__()Attributes
The ID of the node
List of IDs of all
BusLines 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
BusStops the company's lines stop at- i: ID
The ID of the node