We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d55e6 commit 7c4be89Copy full SHA for 7c4be89
src/repositories/flight.py
@@ -28,7 +28,7 @@ async def read_flight_by_id(self, flight_id: str) -> Optional[FlightModel]:
28
@repository_exception_handler
29
async def update_flight_by_id(self, flight_id: str, flight: FlightModel):
30
await self.update_by_id(
31
- flight.model_dump(exclude_none=False), data_id=flight_id
+ flight.model_dump(exclude_none=True), data_id=flight_id
32
)
33
34
0 commit comments