Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR-247] Fix output type in the CloseTransactionsWorkflow #49

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading