MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / remove_class

Method remove_class

lib/sqlalchemy/orm/clsregistry.py:325–328  ·  view source on GitHub ↗
(self, name: str, cls: Type[Any])

Source from the content-addressed store, hash-verified

323 )
324
325 def remove_class(self, name: str, cls: Type[Any]) -> None:
326 if name in self.contents:
327 existing = cast(_MultipleClassMarker, self.contents[name])
328 existing.remove_item(cls)
329
330
331class _ModNS:

Callers 1

_remove_classFunction · 0.80

Calls 2

remove_itemMethod · 0.80
castFunction · 0.50

Tested by

no test coverage detected