diff --git a/api/datasync/cli.py b/api/datasync/cli.py index 147de6d..a0c4c47 100644 --- a/api/datasync/cli.py +++ b/api/datasync/cli.py @@ -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 \ No newline at end of file + return res.text + + + def new (self, data_sync_report: dict): + """ + ??? + """ + + return self.__request_json_post__("/ipc/datasyncreportmgr/new", data_sync_report) +