Developing the only method.

data_sync
Pedro de Oliveira Guedes 2022-01-21 11:37:15 -03:00
parent 0371ae9175
commit eacb9635c0
1 changed files with 10 additions and 1 deletions

View File

@ -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)