Skip to content

Commit

Permalink
Merge pull request #32 from pier-digital/b/fix-bureau-connector
Browse files Browse the repository at this point in the history
Fix missing field
  • Loading branch information
gabrielguarisa authored Sep 4, 2024
2 parents 88b73c8 + d77955e commit 3da0a12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "retrack"
version = "2.7.0"
version = "2.7.1"
description = "A business rules engine"
authors = ["Gabriel Guarisa <[email protected]>"]
license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions retrack/nodes/dynamic/conditional_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class ConditionalConnectorMetadataModel(pydantic.BaseModel):
source: str
resource: str
default: typing.Optional[str] = None
headers: typing.List[str]
headers_map: typing.List[str]


Expand Down
3 changes: 2 additions & 1 deletion tests/test_nodes/test_conditional_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def conditional_connector_metadata():
"name": "example",
"source": "source_name",
"resource": "resource_name",
"headers_map": ["example_input_name", "another_input_name"],
"headers": ["example_input_name", "another_input_name"],
"headers_map": ["input_value_0", "input_value_1"],
},
"outputs": {
"output_value": {
Expand Down

0 comments on commit 3da0a12

Please sign in to comment.