bundles / jupyter_core latest / jupyter_core / utils / deprecation
function
jupyter_core.utils:deprecation
Signature
def deprecation(message: str, internal: str | list[str] = jupyter_core/) → NoneSummary
Generate a deprecation warning targeting the first frame that is not 'internal'
Extended Summary
internal is a string or list of strings, which if they appear in filenames in the frames, the frames will be considered internal. Changing this can be useful if, for example, we know that our internal code is calling out to another library.
Aliases
jupyter_core.utils.deprecation