StarRailCopilot/tasks/map/route/model.py
2023-10-02 16:32:53 +08:00

13 lines
213 B
Python

from pydantic import BaseModel, RootModel
class RouteModel(BaseModel):
name: str
route: str
plane: str
floor: str
position: tuple[float, float]
RouteListModel = RootModel[list[RouteModel]]