MCPcopy Create free account
hub / github.com/CadQuery/cadquery / __getstate__

Method __getstate__

cadquery/occ_impl/assembly.py:164–168  ·  view source on GitHub ↗

Allows pickling.

(self)

Source from the content-addressed store, hash-verified

162 return self.toTuple() == other.toTuple()
163
164 def __getstate__(self) -> Tuple[str, str, float, str]:
165 """
166 Allows pickling.
167 """
168 return self.toTuple()
169
170 def __setstate__(self, data: Tuple[str, str, float, str]):
171 """

Callers

nothing calls this directly

Calls 1

toTupleMethod · 0.95

Tested by

no test coverage detected