1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-17 21:10:12 +01:00
LibreTranslate/libretranslate/no_limiter.py

14 lines
235 B
Python
Raw Normal View History

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