Skip to content

Commit

Permalink
FR-247 Fix output type in the CloseTransactionsWorkflow (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaro0149 authored May 23, 2024
1 parent 463041e commit 0188aad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions uniconfig/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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."
)

Expand Down
2 changes: 1 addition & 1 deletion uniconfig/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packages = [{ include = "frinx_worker" }]
name = "frinx-uniconfig-worker"
description = "Conductor worker for Frinx Uniconfig"
authors = ["Jozef Volak <[email protected]>"]
version = "2.3.0"
version = "2.3.1"
readme = ["README.md", "CHANGELOG.md", "RELEASE.md"]
keywords = ["frinx-machine", "uniconfig", "worker"]
license = "Apache 2.0"
Expand Down

0 comments on commit 0188aad

Please sign in to comment.