MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _finalize

Method _finalize

lib/sqlalchemy/orm/instrumentation.py:223–230  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 self._finalize()
222
223 def _finalize(self) -> None:
224 if self._finalized:
225 return
226 self._finalized = True
227
228 self._instrument_init()
229
230 _instrumentation_factory.dispatch.class_instrument(self.class_)
231
232 def __hash__(self) -> int: # type: ignore[override]
233 return id(self)

Callers 1

_update_stateMethod · 0.95

Calls 2

_instrument_initMethod · 0.95
class_instrumentMethod · 0.45

Tested by

no test coverage detected