diff --git a/uniconfig/python/CHANGELOG.md b/uniconfig/python/CHANGELOG.md index ba5bedd..dc600fc 100644 --- a/uniconfig/python/CHANGELOG.md +++ b/uniconfig/python/CHANGELOG.md @@ -39,3 +39,6 @@ # 2.3.0 - Implemented workflow and workers for closing of all open transactions in the specified workflow (close_transactions). + +# 2.3.1 +- Fixed closed_transactions workflow output type (it must be string). diff --git a/uniconfig/python/frinx_worker/uniconfig/workflows/transaction_workflows.py b/uniconfig/python/frinx_worker/uniconfig/workflows/transaction_workflows.py index 58c9fa1..91f24fd 100644 --- a/uniconfig/python/frinx_worker/uniconfig/workflows/transaction_workflows.py +++ b/uniconfig/python/frinx_worker/uniconfig/workflows/transaction_workflows.py @@ -7,7 +7,6 @@ from pydantic import Field from frinx_worker.uniconfig.transaction_helpers import TransactionHelpers -from frinx_worker.uniconfig.transaction_helpers import UniconfigTransactionContext class TransactionWorkflows(ServiceWorkflowsImpl): @@ -26,7 +25,7 @@ class WorkflowInput(WorkflowImpl.WorkflowInput): ) class WorkflowOutput(WorkflowImpl.WorkflowOutput): - closed_transactions: list[UniconfigTransactionContext] = Field( + closed_transactions: str = Field( description="List of successfully closed UniConfig transactions in this workflow." ) diff --git a/uniconfig/python/pyproject.toml b/uniconfig/python/pyproject.toml index 1c32fa3..f1547ac 100644 --- a/uniconfig/python/pyproject.toml +++ b/uniconfig/python/pyproject.toml @@ -21,7 +21,7 @@ packages = [{ include = "frinx_worker" }] name = "frinx-uniconfig-worker" description = "Conductor worker for Frinx Uniconfig" authors = ["Jozef Volak "] -version = "2.3.0" +version = "2.3.1" readme = ["README.md", "CHANGELOG.md", "RELEASE.md"] keywords = ["frinx-machine", "uniconfig", "worker"] license = "Apache 2.0"