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, stops: list[ID] = <factory>)

Bases: BusLine

__init__()

Methods

NS()

__init__()

Attributes

code

Unique code identifying the bus line

colour

Colour of the line (on a map)

company

ID of the BusCompany that operates the line

i

The ID of the node

name

Name of the line

source

All sources that prove the node's existence

stops

List of all BusStop s the line stops at

classmethod NS()
code: str

Unique code identifying the bus line

colour: str | None

Colour of the line (on a map)

company: ID

ID of the BusCompany that operates the line

i: ID

The ID of the node

name: str | None

Name of the line

source: set[str]

All sources that prove the node’s existence

stops: list[ID]

List of all BusStop s the line stops at