from typing import List

from pydantic import BaseModel


class UpdateRouteRequest(BaseModel):
    estimated_route_time_in_minutes: float
    route: List[List[float]]

    class Config:
        from_attributes = True

