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 @@ -98,6 +98,7 @@ Bug Fixes
98
98
* Call ConnectionException with correct kwargs (PYTHON-1117)
99
99
* Can't connect to clusters built from source because version parsing doesn't handle 'x.y-SNAPSHOT' (PYTHON-1118)
100
100
* Discovered node doesn´t honor the configured Cluster port on connection (PYTHON-1127)
101
+ * Exception when use pk__token__gt filter In python 3.7 (PYTHON-1121)
101
102
102
103
Other
103
104
-----
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