gatelogue_types.AirGate
- class gatelogue_types.AirGate(*, i: ID = None, source: set[str] = <factory>, code: str | None, size: ~gatelogue_types.Sourced[str] | None = None, flights: list[~gatelogue_types.Sourced[ID]] = <factory>, airport: ~gatelogue_types.Sourced[ID] = None, airline: ~gatelogue_types.Sourced[ID] | None = None)
Bases:
Node
- __init__()
Methods
NS
()__init__
()Attributes
ID of the
AirAirline
that owns the gateID of the
AirAirport
Unique gate code.
List of IDs of
AirFlight
s that stop at this gate.Abbreviated size of the gate (eg.
The ID of the node
All sources that prove the node's existence
- classmethod NS()
- airline: Sourced[ID] | None
ID of the
AirAirline
that owns the gate
- airport: Sourced[ID]
ID of the
AirAirport
- code: str | None
Unique gate code. If
None
, all flights under this gate do not have gate information at this airport
- flights: list[Sourced[ID]]
List of IDs of
AirFlight
s that stop at this gate. Ifcode==None
, all flights under this gate do not have gate information at this airport
- i: ID
The ID of the node