MCPcopy Create free account
hub / github.com/apache/fory / __setstate__

Method __setstate__

python/pyfory/tests/test_stateful_serializer.py:86–87  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

84 return {"metadata": "old_style"}
85
86 def __setstate__(self, state):
87 self._metadata = state.get("metadata", "none")
88
89 def __eq__(self, other):
90 if not isinstance(other, ImmutableWithArgs):

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected