tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Single approach to ext types encode/decode #252

Closed DifferentialOrange closed 1 year ago

DifferentialOrange commented 1 year ago

api: pandas way to build datetime from timestamp

This option is required so it would be possible to decode Datetime with external function without constructing excessive pandas.Timestamp object.

Follows #204

api: extract datetime encode/decode from class

Extract tarantool.Datetime encode and decode to external functions. This is a breaking change, but since there is no tagged release with Datetime yet and API was more internal rather than public, it shouldn't be an issue.

Follows #204

api: extract interval encode/decode from class

Extract tarantool.Interval encode and decode to external functions. This is a breaking change, but since there is no tagged release with Interval yet and API was more internal rather than public, it shouldn't be an issue.

Follows #229