tarantool / tarantool-python

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

Is there a way to add custom type by myself? For example, uuid #191

Closed TvoroG closed 1 year ago

TvoroG commented 3 years ago

Hey! Thanks for the work!

I cannot figure out the right way to add custom type. msgpack-python supports ext type by ext_hook and default arguments to Packer and Unpacker, but we cannot pass them through tarantool connection. Am I wrong?

Totktonada commented 3 years ago

It seems, you are right. I would make it extensible, more or less in the spirit of PR #154 or PR #190. I'll consider this issue as the feature request.