Example #1
0
 def response_handler(resp):
     if not resp.is_success:
         raise AQLCacheConfigureError(resp, request)
     return format_aql_cache(resp.body)
Example #2
0
 def response_handler(resp: Response) -> Json:
     if not resp.is_success:
         raise AQLCachePropertiesError(resp, request)
     return format_aql_cache(resp.body)