Module genshin.utility.deprecation

Deprecation decorator.

Functions

def deprecated(alternative: Optional[str] = None) ‑> Callable[[~CallableT], ~CallableT]

Mark a function as deprecated.

def warn_deprecated(obj: Any, *, alternative: Optional[str] = None, stack_level: int = 3) ‑> None

Raise a deprecated warning.