We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f166102 commit d25ffbdCopy full SHA for d25ffbd
1 file changed
cassandra/decoder.py
@@ -788,7 +788,7 @@ def cql_encode_bytes(val):
788
return '0x' + hexlify(val)
789
else:
790
# python 2.6 requires string or read-only buffer for hexlify
791
- def cql_encode_bytes(val):
+ def cql_encode_bytes(val): # noqa
792
return '0x' + hexlify(buffer(val))
793
794
@@ -848,5 +848,5 @@ def cql_encode_all_types(val):
848
tuple: cql_encode_list_collection,
849
set: cql_encode_set_collection,
850
frozenset: cql_encode_set_collection,
851
- types.GeneratorType: cql_encode_sequence
+ types.GeneratorType: cql_encode_list_collection
852
}
0 commit comments