skytracker.models.api.aviation_edge.AviationEdgeFlightTrackingFlight#
- class skytracker.models.api.aviation_edge.AviationEdgeFlightTrackingFlight(*, iataNumber: str | None, icaoNumber: str, number: int | None)#
Bases:
APIBaseModelAviation Edge API flight tracking flight data
Properties
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
flight IATA number
flight ICAO number
flight number
Methods
Parse code value
- __init__(**data: Any) None#
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- classmethod parse_code(value: str | None) str | None#
Parse code value
- Parameters:
value (str | None) – code value
- Returns:
parsed code value
- Return type:
str | None
- iataNumber: Annotated[str | None, FieldInfo(annotation=NoneType, required=True, description='Flight IATA number')]#
flight IATA number
- Type:
str | None
- icaoNumber: Annotated[str, FieldInfo(annotation=NoneType, required=True, description='Flight ICAO number')]#
flight ICAO number
- Type:
str
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- number: Annotated[int | None, FieldInfo(annotation=NoneType, required=True, description='Flight number')]#
flight number
- Type:
int