Skip to content

Extention types as keys #240

Description

@DifferentialOrange

There is an explicit type checks for SELECT, UPDATE and DELETE operation keys:

supported_types=integer_types+string_types+binary_types+ (float,)

Extended types are not supported yet:

>>>conn.select('space', uuid.uuid4())
Traceback (mostrecentcalllast):
File"<stdin>", line1, in<module>File"/home/georgymoiseev/Development/github/tarantool/tarantool-python/tarantool/connection.py", line1519, inselectkey=check_key(key, select=True)
File"/home/georgymoiseev/Development/github/tarantool/tarantool-python/tarantool/utils.py", line51, incheck_keyassertisinstance(key, supported_types)
AssertionError

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions