Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-client
Commits
f276bd9b
Commit
f276bd9b
authored
Dec 28, 2024
by
Wei Shoulin
Browse files
un json
parent
f19bbfee
Changes
1
Show whitespace changes
Inline
Side-by-side
csst_dfs_client/common/__init__.py
View file @
f276bd9b
...
...
@@ -71,7 +71,7 @@ class Result(dict):
content_dict
=
json
.
loads
(
resp
.
content
.
decode
(
'utf-8'
))
self
[
"message"
]
=
content_dict
.
get
(
"detail"
,
""
)
except
Exception
as
_
:
pass
self
[
"message"
]
=
resp
.
content
.
decode
(
'utf-8'
)
return
self
class
DictObject
(
dict
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment