Add support for Arrow
type.
#3721
karolzlot
started this conversation in
Feature Request
Replies: 1 comment
-
It would be great from a performance perspective to allow direct integration with Arrow for loading data into objects. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently it is possible to use
datetime
type for data and time.Arrow library makes dealing with dates and times a lot easier. It would be convenient to have support of it in Pydantic. It would be great to have support for
Arrow
type.arbitrary_types_allowed = True
allows to use it, but it doesn't work well: https://stackoverflow.com/questions/68930298/how-to-use-arrow-type-in-fastapi-response-schema (solution presented here is the best what can be achieved as of now, but it is not ideal solution)Beta Was this translation helpful? Give feedback.
All reactions