mirror of
				https://github.com/LibreTranslate/LibreTranslate.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			231 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			231 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from functools import wraps
 | 
						|
 | 
						|
 | 
						|
class Limiter:
 | 
						|
    def exempt(self, f):
 | 
						|
        @wraps(f)
 | 
						|
        def wrapper(*args, **kwargs):
 | 
						|
            return f(*args, **kwargs)
 | 
						|
 | 
						|
        return wrapper
 | 
						|
 | 
						|
    def init_app(self, app):
 | 
						|
        pass
 |