MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _post_inspect

Method _post_inspect

lib/sqlalchemy/orm/mapper.py:2684–2694  ·  view source on GitHub ↗

This hook is invoked by attribute inspection. E.g. when Query calls: coercions.expect(roles.ColumnsClauseRole, ent, keep_inspect=True) This allows the inspection process run a configure mappers hook.

(self)

Source from the content-addressed store, hash-verified

2682
2683 @HasMemoized.memoized_attribute
2684 def _post_inspect(self):
2685 """This hook is invoked by attribute inspection.
2686
2687 E.g. when Query calls:
2688
2689 coercions.expect(roles.ColumnsClauseRole, ent, keep_inspect=True)
2690
2691 This allows the inspection process run a configure mappers hook.
2692
2693 """
2694 self._check_configure()
2695
2696 @HasMemoized_ro_memoized_attribute
2697 def _with_polymorphic_selectable(self) -> FromClause:

Callers

nothing calls this directly

Calls 1

_check_configureMethod · 0.95

Tested by

no test coverage detected