-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[oss util] use custom parse_xml demo #87
base: master
Are you sure you want to change the base?
Conversation
… bump spi v0.0.5, bump tea-utils 2.0.6, bump credentials-go v1.3.6
@@ -115,7 +116,7 @@ def __init__(self): | |||
'responseHeader', | |||
'userDefinedLogFieldsConfig' | |||
] | |||
self._except_signed_params = [ | |||
undefined._except_signed_params = [ | |||
'list-type', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
辛苦将undefined改为self,这里dara生成有问题,我们后面修复下
except Exception as error: | ||
response.deserialized_body = result | ||
result = await OSS_UtilClient.parse_xml_async(body_str, request.action) | ||
try: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯嗯先这样处理吧,后面生成的时候得注意些,不小心会被覆盖了。后面有时间了得从根本上解决这个问题
value = Encoder.percent_encode(item[1]) | ||
value = StringClient.replace(value, '+', '%20', None) | ||
# for go : queryMap[tea.StringValue(key)] = value | ||
query_map[key] = value |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里都是生成的吗,怎么都删掉了
No description provided.