tarantool / tarantool-python

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

Add forwarding msgpack packer and unpacker to call function #190

Closed ObjatieGroba closed 1 year ago

ObjatieGroba commented 3 years ago

Reason:

For response tuple containing strings and bytes python3 falls with utf-8 decoding exception. For set encoding=None user should decode string manually after call.

Usage:

tnt.call("echo", ("str", b"bytes"), msgpack_unpacker=msgpack.Unpacker())
DifferentialOrange commented 1 year ago

Solved by #268