LibreTranslate/libretranslate/no_limiter.py

14 lines
235 B
Python
Raw Normal View History

2021-02-26 14:58:29 +00:00
from functools import wraps
2021-05-18 03:41:02 +00:00
2021-02-26 14:58:29 +00:00
class Limiter:
2021-05-18 03:41:02 +00:00
def exempt(self, f):
@wraps(f)
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper
2023-01-01 18:22:01 +00:00
def init_app(self, app):
pass