MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _get_pending_mutation

Method _get_pending_mutation

lib/sqlalchemy/orm/state.py:606–609  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

604 return self.manager[key].impl
605
606 def _get_pending_mutation(self, key: str) -> PendingCollection:
607 if key not in self._pending_mutations:
608 self._pending_mutations[key] = PendingCollection()
609 return self._pending_mutations[key]
610
611 def __getstate__(self) -> Dict[str, Any]:
612 state_dict: Dict[str, Any] = {

Callers 2

appendMethod · 0.80
removeMethod · 0.80

Calls 1

PendingCollectionClass · 0.85

Tested by

no test coverage detected