Exemple #1
0
def cache_long_api_calls():
    from cache.validator import Validator
    v = Validator()
    v.update_response_times_and_add_to_cache()
Exemple #2
0
 def update_requests(self, request):
     validator = Validator()
     validator.update_response_times_and_add_to_cache()
     return HttpResponse('Success')
Exemple #3
0
def cache_long_api_calls():
    from cache.validator import Validator
    v = Validator()
    v.update_response_times_and_add_to_cache()
Exemple #4
0
 def handle(self, *args, **options):
     v = Validator()
     v.update_response_times_and_add_to_cache()