gatelogue_types.AirFlightNS

class gatelogue_types.AirFlightNS(*, i: ID = None, source: set[str] = <factory>, codes: set[str], mode: PlaneMode | None = None, gates: list[ID] = <factory>, airline: ID)

Bases: AirFlight, NodeNS

__init__()

Methods

NS()

__init__()

Attributes

airline

ID of the AirAirline the flight is operated by

codes

Unique flight code(s).

gates

List of IDs of AirGate s that the flight goes to.

i

The ID of the node

mode

Type of air vehicle or technology used on the flight

source

All sources that prove the node's existence

classmethod NS()
airline: ID

ID of the AirAirline the flight is operated by

codes: set[str]

Unique flight code(s). 2-letter airline prefix not included

gates: list[ID]

List of IDs of AirGate s that the flight goes to. Should be of length 2 in most cases

i: ID

The ID of the node

mode: PlaneMode | None

Type of air vehicle or technology used on the flight

source: set[str]

All sources that prove the node’s existence