We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 055e8ec + facabc5 commit 70860b0Copy full SHA for 70860b0
cassandra/cqlengine/columns.py
@@ -1038,12 +1038,11 @@ def to_python(self, value):
1038
if value is None:
1039
return
1040
1041
- copied_value = deepcopy(value)
1042
for name, field in self.user_type._fields.items():
1043
- if copied_value[name] is not None or isinstance(field, BaseContainerColumn):
1044
- copied_value[name] = field.to_python(copied_value[name])
+ if value[name] is not None or isinstance(field, BaseContainerColumn):
+ value[name] = field.to_python(value[name])
1045
1046
- return copied_value
+ return value
1047
1048
def to_database(self, value):
1049
0 commit comments