Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
刘志永 committed Sep 1, 2021
1 parent ed5ddb1 commit 048d1db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kernel/python/kernel/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.6'
__version__ = '1.0.7'
7 changes: 4 additions & 3 deletions kernel/python/kernel/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def to_jsonstring(self,params):
return json.dumps(params)

def sort_map(self,params):
return sort_map(params)
return params

def read_as_json(self,teaResponse):
return json.loads(teaResponse.body.decode('utf-8'))
Expand Down Expand Up @@ -94,8 +94,9 @@ def build_query_string(self,sorted_dict):
'msg':'系统内部错误',
'business_data':'{"a": "1"}'
}
client.to_resp_model(params)
r = bytes(json.dumps(params),'utf-8')
client.sort_map(params)
# client.to_resp_model(params)
# r = bytes(json.dumps(params),'utf-8')

# print(r.decode('utf-8'))
# content = client.build_query_string(params)
Expand Down
2 changes: 1 addition & 1 deletion kernel/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
AUTHOR_EMAIL = "alibaba-cloud-sdk-dev-team@list.alibaba-inc.com"
URL = "https://github.com/eleme/anubis-openapi-third/tree/main/kernel/python"
TOPDIR = os.path.dirname(__file__) or "."
VERSION = "1.0.6"
VERSION = "1.0.7"

with open("README.md", encoding="utf-8") as fp:
LONG_DESCRIPTION = fp.read()
Expand Down

0 comments on commit 048d1db

Please sign in to comment.