1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2025-02-04 18:20:35 +02:00
LibreTranslate/app/no_limiter.py

11 lines
188 B
Python
Raw Normal View History

2021-02-26 09:58:29 -05:00
from functools import wraps
2021-05-18 09:11:02 +05:30
2021-02-26 09:58:29 -05:00
class Limiter:
2021-05-18 09:11:02 +05:30
def exempt(self, f):
@wraps(f)
def wrapper(*args, **kwargs):
return f(*args, **kwargs)
return wrapper