Created
March 25, 2022 20:29
-
-
Save zehpatricio/812577bc6c59fd20aeb38839599db2d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pydantic import BaseModel | |
from typing import Optional | |
from datetime import datetime | |
class Location(BaseModel): | |
id: Optional[int] | |
device_id: int | |
lat: float | |
long: float | |
date: datetime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment