skytracker.models.airline.AirlineType#
- class skytracker.models.airline.AirlineType(*values)#
Bases:
IntEnumAirline type
Properties
airline with regular scheduled flights
airline with (often contracted) non-scheduled flights
airline transporting freight
airline that does not operate aircraft directly
airline targets primarily holiday destinations
airline owned by government
non-commercial operator
aircraft manufacturer
company supplying aviation services
subdivision of larger airline
Methods
Get airline type from a string
- __init__(*args, **kwds)#
- classmethod from_string(value: str) int#
Get airline type from a string
- Parameters:
value (str) – string to parse
- Returns:
airline type
- Return type:
int
- CARGO: int = 2#
airline transporting freight
- Type:
int
- CHARTER: int = 1#
airline with (often contracted) non-scheduled flights
- Type:
int
- DIVISION: int = 9#
subdivision of larger airline
- Type:
int
- GOVERNMENT: int = 5#
airline owned by government
- Type:
int
- LEISURE: int = 4#
airline targets primarily holiday destinations
- Type:
int
- MANUFACTURER: int = 7#
aircraft manufacturer
- Type:
int
- PRIVATE: int = 6#
non-commercial operator
- Type:
int
- SCHEDULED: int = 0#
airline with regular scheduled flights
- Type:
int
- SUPPLIER: int = 8#
company supplying aviation services
- Type:
int
- VIRTUAL: int = 3#
airline that does not operate aircraft directly
- Type:
int