示例#1
0
 def response_handler(resp):
     if resp.is_success:
         return format_wal_properties(resp.body)
     raise WALConfigureError(resp, request)
示例#2
0
 def response_handler(resp: Response) -> Json:
     if resp.is_success:
         return format_wal_properties(resp.body)
     raise WALPropertiesError(resp, request)