gatelogue_types.BusCompanyNS

class gatelogue_types.BusCompanyNS(*, i: ID = None, source: set[str] = <factory>, name: str, lines: list[ID] = <factory>, stops: list[ID] = <factory>, local: bool = False)

Bases: BusCompany, NodeNS

__init__()

Methods

NS()

__init__()

Attributes

i

The ID of the node

lines

List of IDs of all BusLine s the company operates

local

Whether the company operates within the city, e.g. a city bus network.

name

Name of the bus company

source

All sources that prove the node's existence

stops

List of all BusStop s the company's lines stop at

classmethod NS()
i: ID

The ID of the node

lines: list[ID]

List of IDs of all BusLine s the company operates

local: bool

Whether the company operates within the city, e.g. a city bus network

name: str

Name of the bus company

source: set[str]

All sources that prove the node’s existence

stops: list[ID]

List of all BusStop s the company’s lines stop at