From a799165c13d4aef3de8e0e7342d05e14413e98bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20=C5=A0milauer?= Date: Tue, 26 Nov 2024 09:26:32 +0100 Subject: [PATCH] Fix typo (input_item/output_item) --- mupifDB/api/client_mupif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mupifDB/api/client_mupif.py b/mupifDB/api/client_mupif.py index d6c4d05..2a54b2d 100644 --- a/mupifDB/api/client_mupif.py +++ b/mupifDB/api/client_mupif.py @@ -165,7 +165,7 @@ def setExecutionInputObject(weid, name, obj_id, object_dict): # TODO: validate input def setExecutionOutputObject(weid, name, obj_id, object_dict): - return rPatch(f"executions/{weid}/input_item/{name}/{obj_id}/", data=json.dumps({"object": object_dict})) + return rPatch(f"executions/{weid}/output_item/{name}/{obj_id}/", data=json.dumps({"object": object_dict})) def getPropertyArrayData(file_id, i_start, i_count): # may not be used return rGet(f"property_array_data/{file_id}/{i_start}/{i_count}/")