ocrd_utils.deprecate module

ocrd_utils.deprecate.deprecation_warning(msg, stacklevel=2)[source]
ocrd_utils.deprecate.deprecated_alias(**aliases)[source]

Deprecate a kwarg in favor of another kwarg

ocrd_utils.deprecate.rename_kwargs(func_name, kwargs, aliases)[source]

https://stackoverflow.com/questions/49802412/how-to-implement-deprecation-in-python-with-argument-alias by user2357112 supports Monica