def response_handler(resp): if not resp.is_success: raise AQLQueryListError(resp, request) return [format_aql_query(q) for q in resp.body]
def response_handler(resp): if not resp.is_success: raise AQLQueryListError(resp, request) return self._format_queries(resp.body)