Skip to content

Commit 6d54e72

Browse files
committed
linting and typecheck
1 parent 931edff commit 6d54e72

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/fr24sdk/resources/historic/events.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
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
87
from pydantic import (
98
BaseModel,
109
Field,
@@ -34,8 +33,8 @@
3433
class _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")

0 commit comments

Comments
 (0)