MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / warn_deprecated

Function warn_deprecated

lib/sqlalchemy/util/deprecations.py:55–60  ·  view source on GitHub ↗
(
    msg: str, version: str, stacklevel: int = 3, code: Optional[str] = None
)

Source from the content-addressed store, hash-verified

53
54
55def warn_deprecated(
56 msg: str, version: str, stacklevel: int = 3, code: Optional[str] = None
57) -> None:
58 _warn_with_version(
59 msg, version, exc.SADeprecationWarning, stacklevel, code=code
60 )
61
62
63def warn_deprecated_limited(

Callers 9

distinctMethod · 0.85
get_dialect_optionMethod · 0.85
inherit_schemaMethod · 0.85
_distill_params_20Function · 0.85
__call__Method · 0.85
__getattr__Function · 0.85
_as_dataclass_fieldMethod · 0.85
__call__Method · 0.85
distinctMethod · 0.85

Calls 1

_warn_with_versionFunction · 0.85

Tested by

no test coverage detected