MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / to_python

Method to_python

cassandra/cqlengine/columns.py:830–833  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

828 return tuple(t.validate(v) for t, v in zip(self.types, val))
829
830 def to_python(self, value):
831 if value is None:
832 return tuple()
833 return tuple(t.to_python(v) for t, v in zip(self.types, value))
834
835 def to_database(self, value):
836 if value is None:

Callers

nothing calls this directly

Calls 1

to_pythonMethod · 0.45

Tested by

no test coverage detected