From eacb9635c04ea410452b21a3633aa0f79d33d17a Mon Sep 17 00:00:00 2001 From: Pedro de Oliveira Guedes Date: Fri, 21 Jan 2022 11:37:15 -0300 Subject: [PATCH] Developing the only method. --- api/datasync/cli.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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) +