LibreTranslate/libretranslate/no_limiter.py

10 lines
188 B
Python

from functools import wraps
class Limiter:
def exempt(self, f):
@wraps(f)
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper