Skip to content

Instantly share code, notes, and snippets.

@necaris
Created September 17, 2019 14:03
Show Gist options
  • Save necaris/4a2311e1895aa627eb29d01a407a37f7 to your computer and use it in GitHub Desktop.
Save necaris/4a2311e1895aa627eb29d01a407a37f7 to your computer and use it in GitHub Desktop.
In [0]: Flight(origin="DCA", destination="ORD", departure="hurrah")
ValidationError: 1 validation error
departure
invalid datetime format (type=type_error.datetime)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment