Skip to content

Commit 32a696c

Browse files
ilmarkovbigbes
authored andcommitted
add type float for check_key
1 parent c377311 commit 32a696c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tarantool/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def check_key(*args, **kwargs):
1919
elif args[0] is None and kwargs['select']:
2020
return []
2121
for key in args:
22-
assert isinstance(key, six.integer_types + six.string_types)
22+
assert isinstance(key, six.integer_types + six.string_types + (float,))
2323
return list(args)
2424

2525

0 commit comments

Comments
 (0)