bundles / traitlets 5.16.2 / traitlets / utils / warnings / deprecated_method
function
traitlets.utils.warnings:deprecated_method
source: /traitlets/utils/warnings.py:16
Signature
def deprecated_method(method: t.Any, cls: t.Any, method_name: str, msg: str) → NoneSummary
Show deprecation warning about a magic method definition.
Extended Summary
Uses warn_explicit to bind warning to method definition instead of triggering code, which isn't relevant.
Aliases
traitlets.traitlets.deprecated_method