From 98818016b1c94f5d2dcffb70609b8aa6531d7d16 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Wed, 9 Apr 2025 19:43:46 +0000 Subject: [PATCH] feat: Update Ride schemas with new fields --- schemas/ride.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/schemas/ride.py b/schemas/ride.py index 8d7fa1c..87649d0 100644 --- a/schemas/ride.py +++ b/schemas/ride.py @@ -4,6 +4,8 @@ from datetime import datetime from uuid import UUID class RideBase(BaseModel): + dispatch_status: str + dispatch_time: Optional[datetime.datetime] dispatch_status: str dispatch_time: Optional[datetime.datetime] pickup_location: str = Field(..., description="Pickup location") @@ -18,6 +20,8 @@ class RideCreate(RideBase): pass class RideSchema(RideBase): + dispatch_status: str + dispatch_time: Optional[datetime.datetime] dispatch_status: str dispatch_time: Optional[datetime.datetime] id: UUID @@ -36,3 +40,9 @@ class RideSchema(RideBase): dispatch_status: str dispatch_time: Optional[datetime.datetime] + + + + dispatch_status: str + dispatch_time: Optional[datetime.datetime] +