sabretoothedhugs's picture
v2
9b19c29
raw
history blame contribute delete
209 Bytes
import warnings
warnings.simplefilter("once", DeprecationWarning)
def deprecation(msg: str) -> None:
"""Deprecation warning wrapper."""
warnings.warn(msg, category=DeprecationWarning, stacklevel=2)