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
ID of the
AirAirline
the flight is operated byUnique flight code(s).
List of IDs of
AirGate
s that the flight goes to.Type of air vehicle or technology used on the flight
The ID of the node
All sources that prove the node's existence
- classmethod NS()
- airline: Sourced[ID]
ID of the
AirAirline
the flight is operated by
- 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