MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _implicit_coercions

Method _implicit_coercions

lib/sqlalchemy/sql/coercions.py:491–498  ·  view source on GitHub ↗
(
        self,
        element: Any,
        resolved: Any,
        argname: Optional[str] = None,
        **kw: Any,
    )

Source from the content-addressed store, hash-verified

489 self._use_inspection = issubclass(role_class, roles.UsesInspection)
490
491 def _implicit_coercions(
492 self,
493 element: Any,
494 resolved: Any,
495 argname: Optional[str] = None,
496 **kw: Any,
497 ) -> Any:
498 self._raise_for_expected(element, argname, resolved)
499
500 def _raise_for_expected(
501 self,

Callers 3

expectFunction · 0.45
_implicit_coercionsMethod · 0.45
_implicit_coercionsMethod · 0.45

Calls 1

_raise_for_expectedMethod · 0.95

Tested by

no test coverage detected