File tree Expand file tree Collapse file tree
src/fr24sdk/resources/historic Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: MIT
44"""Resource class for historic flight events data."""
55
6- from typing import Optional , Any , Annotated , Union
7- from datetime import datetime , timezone
6+ from typing import Optional , Any
87from pydantic import (
98 BaseModel ,
109 Field ,
3433class _HistoricEventsParams (BaseModel ):
3534 """Validate & serialise historic flight events query parameters."""
3635
37- flight_ids : list [str ] = Field (default = None , description = "fr24_ids (maximum 15 IDs)" , max_length = 15 )
38- event_types : list [str ] = Field (default = None , description = "Event types to filter by (comma-separated values or list)" )
36+ flight_ids : list [str ] = Field (... , description = "fr24_ids (maximum 15 IDs)" , max_length = 15 )
37+ event_types : list [str ] = Field (... , description = "Event types to filter by (comma-separated values or list)" )
3938
4039
4140 @field_validator ("event_types" )
You can’t perform that action at this time.
0 commit comments