gatelogue_types.BusLineNS
- class gatelogue_types.BusLineNS(*, i: ID = None, source: set[str] = <factory>, code: str, name: str | None = None, colour: str | None = None, company: ID = None, ref_stop: ID | None = None)
Bases:
BusLine
- __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 lineThe ID of the node
Name of the line
ID of one
BusStop
on the line, typically a terminusAll sources that prove the node's existence
- classmethod NS()
- company: ID
ID of the
BusCompany
that operates the line
- i: ID
The ID of the node