gatelogue_types.BusLine
- class gatelogue_types.BusLine(*, i: ID = None, source: set[str] = <factory>, code: str, name: ~gatelogue_types.Sourced[str] | None = None, colour: ~gatelogue_types.Sourced[str] | None = None, company: ~gatelogue_types.Sourced[ID] = None, ref_stop: ~gatelogue_types.Sourced[ID] | None = None)
Bases:
Node
- __init__()
Methods
NS
()__init__
()Attributes
Unique code identifying the bus line
Colour of the line (on a map)
ID of the
BusCompany
that operates the lineName of the line
ID of one
BusStop
on the line, typically a terminusThe ID of the node
All sources that prove the node's existence
- classmethod NS()
- company: Sourced[ID]
ID of the
BusCompany
that operates the line
- i: ID
The ID of the node