MCPcopy Index your code
hub / github.com/MCSLTeam/MCSL2 / wrapper

Function wrapper

MCSL2Lib/utils.py:183–185  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

181 def decorator(func):
182 @functools.wraps(func)
183 def wrapper(*args, **kwargs):
184 MCSL2Logger.warning(f"警告: {func.__name__} {text}")
185 return func(*args, **kwargs)
186
187 return wrapper
188

Callers

nothing calls this directly

Calls 2

warningMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected