gatelogue_types.BusLine
- class gatelogue_types.BusLine(*, i: ID = None, source: set[str] = <factory>, code: str, name: Sourced[str] | None = None, colour: Sourced[str] | None = None, company: Sourced[ID] = None, stops: list[Sourced[ID]] = <factory>)
Bases:
Node,_BusLine- __init__()
Methods
__init__()Attributes
Unique code identifying the bus line
Colour of the line (on a map)
ID of the
BusCompanythat operates the lineThe ID of the node
Name of the line
All sources that prove the node's existence
List of all
BusStops the line stops at- company: Sourced[ID]
ID of the
BusCompanythat operates the line
- i: ID
The ID of the node