From a6525e77cf09ffc2f4181ec08625a23c8eb3598e Mon Sep 17 00:00:00 2001 From: Sean Bryan Date: Thu, 21 May 2026 15:23:47 -0400 Subject: [PATCH] meorg_client/client.py: Send data as json for model output create Upstream has removed the conversion from form-urlencoded payloads to json payloads, causing the `model output create` command to fail. This fixes this by sending the data as json. --- meorg_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meorg_client/client.py b/meorg_client/client.py index 41d3a75..05e2ef4 100644 --- a/meorg_client/client.py +++ b/meorg_client/client.py @@ -476,7 +476,7 @@ def model_output_create( return self._make_request( method=mcc.HTTP_POST, endpoint=endpoints.MODEL_OUTPUT_CREATE, - data=dict(model=mod_prof_id, name=name) | config_params, + json=dict(model=mod_prof_id, name=name) | config_params, ) def model_output_query(self, model_id: str) -> Union[dict, requests.Response]: