From c12078885750233af6b2ef184d3299c7efc23931 Mon Sep 17 00:00:00 2001 From: tanghc Date: Sun, 28 Jun 2020 09:06:57 +0800 Subject: [PATCH] 3.2.1 --- sop-sdk/sdk-python/request/BaseRequest.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sop-sdk/sdk-python/request/BaseRequest.py b/sop-sdk/sdk-python/request/BaseRequest.py index 6b4a6adc..9714150a 100644 --- a/sop-sdk/sdk-python/request/BaseRequest.py +++ b/sop-sdk/sdk-python/request/BaseRequest.py @@ -44,13 +44,7 @@ class BaseRequest: if response_data is None: data_name = self.get_method().replace('.', '_') + '_response' response_data = response_dict.get(data_name) - base_response = BaseResponse(response_data) - base_response.request_id = response_dict.get('request_id') - base_response.code = response_data.get('code') - base_response.msg = response_data.get('msg') - base_response.sub_code = response_data.get('sub_code') - base_response.sub_msg = response_data.get('sub_msg') - return base_response + return response_data