MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _post_inspect

Method _post_inspect

lib/sqlalchemy/orm/mapper.py:2724–2734  ·  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

2722
2723 @HasMemoized.memoized_attribute
2724 def _post_inspect(self):
2725 """This hook is invoked by attribute inspection.
2726
2727 E.g. when Query calls:
2728
2729 coercions.expect(roles.ColumnsClauseRole, ent, keep_inspect=True)
2730
2731 This allows the inspection process run a configure mappers hook.
2732
2733 """
2734 self._check_configure()
2735
2736 @HasMemoized_ro_memoized_attribute
2737 def _with_polymorphic_selectable(self) -> FromClause:

Callers

nothing calls this directly

Calls 1

_check_configureMethod · 0.95

Tested by

no test coverage detected