hikari.internal.deprecation#

Deprecation utils.

Module Contents#

hikari.internal.deprecation.warn_deprecated(name, /, *, removal_version, additional_info, stack_level=3)[source]#

Issue a deprecation warning.

Parameters:
namestr

What is being deprecated.

Other Parameters:
removal_versionstr

The version it will be removed in.

additional_infostr

Additional information on the deprecation for the user.

stack_levelint

The stack level to issue the warning in.