Beispiel #1
0
 def response_handler(resp: Response) -> Jsons:
     if resp.is_success:
         return [format_service_data(service) for service in resp.body]
     raise FoxxServiceListError(resp, request)
Beispiel #2
0
 def response_handler(resp: Response) -> Json:
     if resp.is_success:
         return format_service_data(resp.body)
     raise FoxxDevModeDisableError(resp, request)
Beispiel #3
0
 def response_handler(resp: Response) -> Json:
     if resp.is_success:
         return format_service_data(resp.body)
     raise FoxxScriptListError(resp, request)
Beispiel #4
0
 def response_handler(resp: Response) -> Json:
     if resp.is_success:
         return format_service_data(resp.body)
     raise FoxxDependencyReplaceError(resp, request)