gatelogue_types.AirFlight

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

Bases: Node

__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.

mode

Type of air vehicle or technology used on the flight

i

The ID of the node

source

All sources that prove the node's existence

classmethod NS()
airline: Sourced[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[Sourced[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: Sourced[PlaneMode] | None

Type of air vehicle or technology used on the flight

source: set[str]

All sources that prove the node’s existence