コード例 #1
0
ファイル: __init__.py プロジェクト: rrugge/euca2ools
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     useful_keys = list(filter(lambda x: x != "ResponseMetadata", response_dict.keys()))
     if len(useful_keys) == 1:
         return response_dict[useful_keys[0]] or {}
     else:
         return response_dict
コード例 #2
0
ファイル: __init__.py プロジェクト: sshamsudheen/euca2ools
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     useful_keys = list(
         filter(lambda x: x != 'ResponseMetadata', response_dict.keys()))
     if len(useful_keys) == 1:
         return response_dict[useful_keys[0]] or {}
     else:
         return response_dict
コード例 #3
0
ファイル: __init__.py プロジェクト: Juniper/euca2ools
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     return strip_response_metadata(response_dict)
コード例 #4
0
 def parse_response(self, response):
     response_dict = AWSQueryRequest.parse_response(self, response)
     return strip_response_metadata(response_dict)