Last active
September 17, 2019 14:02
-
-
Save necaris/5e5f1406c8e04a4edb59e6d1d994d462 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 datetime import datetime | |
from pydantic import BaseModel | |
class Flight(BaseModel): | |
origin: str | |
destination: str | |
departure: datetime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment