Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dreamph666
Copy link
Contributor

No description provided.

@@ -115,7 +116,7 @@ def __init__(self):
'responseHeader',
'userDefinedLogFieldsConfig'
]
self._except_signed_params = [
undefined._except_signed_params = [
'list-type',
Copy link
Collaborator

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:
Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里都是生成的吗,怎么都删掉了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants