def cache_long_api_calls(): from cache.validator import Validator v = Validator() v.update_response_times_and_add_to_cache()
def update_requests(self, request): validator = Validator() validator.update_response_times_and_add_to_cache() return HttpResponse('Success')
def cache_long_api_calls(): from cache.validator import Validator v = Validator() v.update_response_times_and_add_to_cache()
def handle(self, *args, **options): v = Validator() v.update_response_times_and_add_to_cache()