We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b20575 commit a35bd19Copy full SHA for a35bd19
1 file changed
cassandra/cqlengine/models.py
@@ -504,7 +504,7 @@ def _can_update(self):
504
if not self._is_persisted:
505
return False
506
507
- return all([not self._values[k].changed for k in self._primary_keys])
+ return all(not self._values[k].changed for k in self._primary_keys)
508
509
@classmethod
510
def _get_keyspace(cls):
0 commit comments