MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __setstate__

Method __setstate__

lib/sqlalchemy/orm/strategy_options.py:1605–1607  ·  view source on GitHub ↗
(self, state: Dict[str, Any])

Source from the content-addressed store, hash-verified

1603 return d
1604
1605 def __setstate__(self, state: Dict[str, Any]) -> None:
1606 state["path"] = PathRegistry.deserialize(state["path"])
1607 self._shallow_from_dict(state)
1608
1609 def _raise_for_no_match(self, parent_loader, mapper_entities):
1610 path = parent_loader.path

Callers

nothing calls this directly

Calls 2

deserializeMethod · 0.80
_shallow_from_dictMethod · 0.80

Tested by

no test coverage detected