MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _immutable_fn

Function _immutable_fn

lib/sqlalchemy/util/_immutabledict_cy.py:45–46  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

43
44
45def _immutable_fn(obj: object) -> NoReturn:
46 raise TypeError(f"{obj.__class__.__name__} object is immutable")
47
48
49class ReadOnlyContainer:

Callers 15

__delitem__Method · 0.85
__setitem__Method · 0.85
__setattr__Method · 0.85
clearMethod · 0.85
popMethod · 0.85
popitemMethod · 0.85
setdefaultMethod · 0.85
updateMethod · 0.85
__delitem__Method · 0.85
__setitem__Method · 0.85
__setattr__Method · 0.85
clearMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected