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

Method _implicit_coercions

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

Source from the content-addressed store, hash-verified

480 self._use_inspection = issubclass(role_class, roles.UsesInspection)
481
482 def _implicit_coercions(
483 self,
484 element: Any,
485 resolved: Any,
486 argname: Optional[str] = None,
487 **kw: Any,
488 ) -> Any:
489 self._raise_for_expected(element, argname, resolved)
490
491 def _raise_for_expected(
492 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