mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-06-19 15:40:59 +00:00
app->libretranslate; mv tests/ inside libretranslate/
This commit is contained in:
parent
40a1141eac
commit
a23a9fbd75
47 changed files with 24 additions and 25 deletions
10
libretranslate/no_limiter.py
Normal file
10
libretranslate/no_limiter.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
from functools import wraps
|
||||
|
||||
|
||||
class Limiter:
|
||||
def exempt(self, f):
|
||||
@wraps(f)
|
||||
def wrapper(*args, **kwargs):
|
||||
return f(*args, **kwargs)
|
||||
|
||||
return wrapper
|
Loading…
Add table
Add a link
Reference in a new issue