Developing the only method.
parent
0371ae9175
commit
eacb9635c0
|
@ -36,4 +36,13 @@ class Data_sync:
|
|||
if res.headers.get("Content-Type") != None and res.headers.get("Content-Type").find("json") != -1:
|
||||
return json.loads(res.text)
|
||||
else:
|
||||
return res.text
|
||||
return res.text
|
||||
|
||||
|
||||
def new (self, data_sync_report: dict):
|
||||
"""
|
||||
???
|
||||
"""
|
||||
|
||||
return self.__request_json_post__("/ipc/datasyncreportmgr/new", data_sync_report)
|
||||
|
||||
|
|
Loading…
Reference in New Issue