diff --git a/hatchet_sdk/clients/admin.py b/hatchet_sdk/clients/admin.py index 81662d1b..e3d345b1 100644 --- a/hatchet_sdk/clients/admin.py +++ b/hatchet_sdk/clients/admin.py @@ -95,7 +95,10 @@ def _prepare_workflow_request( else options["additional_metadata"] ) if meta is not None: - options["additional_metadata"] = json.dumps(meta).encode("utf-8") + options = { + **options, + "additional_metadata": json.dumps(meta).encode("utf-8"), + } except json.JSONDecodeError as e: raise ValueError(f"Error encoding payload: {e}") diff --git a/pyproject.toml b/pyproject.toml index d021be51..27dd1d8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "hatchet-sdk" -version = "0.45.2" +version = "0.45.3" description = "" authors = ["Alexander Belanger "] readme = "README.md"