File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
tests/integration/cqlengine/query Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Bug Fixes
6
6
---------
7
7
* Connection setup methods prevent using ExecutionProfile in cqlengine (PYTHON-1009)
8
8
* Driver deadlock if all connections dropped by heartbeat whilst request in flight and request times out (PYTHON-1044)
9
+ * Exception when use pk__token__gt filter In python 3.7 (PYTHON-1121)
9
10
10
11
3.19.0
11
12
======
Original file line number Diff line number Diff line change @@ -1071,7 +1071,7 @@ class _PartitionKeysToken(Column):
1071
1071
"""
1072
1072
1073
1073
def __init__ (self , model ):
1074
- self .partition_columns = model ._partition_keys .values ()
1074
+ self .partition_columns = list ( model ._partition_keys .values () )
1075
1075
super (_PartitionKeysToken , self ).__init__ (partition_key = True )
1076
1076
1077
1077
@property
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ def test_token_function(self):
94
94
# pk__token equality
95
95
r = TokenTestModel .objects (pk__token = functions .Token (last_token ))
96
96
self .assertEqual (len (r ), 1 )
97
+ r .all () # Attempt to obtain queryset for results. This has thrown an exception in the past
97
98
98
99
def test_compound_pk_token_function (self ):
99
100
You can’t perform that action at this time.
0 commit comments