tarantool / tarantool-python

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

DB-API: Provide type objects and constructors #175

Open Totktonada opened 4 years ago

Totktonada commented 4 years ago

https://www.python.org/dev/peps/pep-0249/#type-objects-and-constructors

The standard defines the following type objects:

The standard also defines a set of constructors for those types. All of them are relevant to DATETIME except the following:

Let's provide types, which is supported in tarantool. Let's decide how to better deal with types, which are not supported in tarantool and which are supported in some versions.