pylbo.deprecations

Functions

log_deprecation_warning(→ None)

Logs a deprecation warning.

Module Contents

pylbo.deprecations.log_deprecation_warning(msg: str, since_version: str, stacklevel: int = 3) None[source]

Logs a deprecation warning.

Parameters:
  • msg (str) – The message to be displayed.

  • since_version (str) – The version since which the deprecation warning is displayed.

  • stacklevel (int, optional) – The stacklevel to be used for the warning, by default 3.