MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / uninstall_member

Method uninstall_member

lib/sqlalchemy/orm/instrumentation.py:454–459  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

452 setattr(self.class_, key, implementation)
453
454 def uninstall_member(self, key: str) -> None:
455 original = self.originals.pop(key, None)
456 if original is not DEL_ATTR:
457 setattr(self.class_, key, original)
458 else:
459 delattr(self.class_, key)
460
461 def instrument_collection_class(
462 self, key: str, collection_class: Type[Collection[Any]]

Callers 1

unregisterMethod · 0.95

Calls 1

popMethod · 0.45

Tested by

no test coverage detected