Skip to content

Commit 5049a42

Browse files
committed
update
1 parent eacad09 commit 5049a42

File tree

1 file changed

+4
-0
lines changed
  • backend/infrahub/computed_attribute

1 file changed

+4
-0
lines changed

backend/infrahub/computed_attribute/tasks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ async def process_transform(
4949
branch_name: str,
5050
node_kind: str,
5151
object_id: str,
52+
computed_attribute_name: str,
53+
computed_attribute_kind: str,
5254
updated_fields: list[str] | None = None, # pylint: disable=unused-argument
5355
) -> None:
5456
"""Request to the creation of git branches in available repositories."""
@@ -355,6 +357,8 @@ async def computed_attribute_setup_python() -> None:
355357
"branch_name": "{{ event.resource['infrahub.branch.name'] }}",
356358
"node_kind": "{{ event.resource['infrahub.node.kind'] }}",
357359
"object_id": "{{ event.resource['infrahub.node.id'] }}",
360+
"computed_attribute_name": computed_attribute.computed_attribute.attribute.name,
361+
"computed_attribute_kind": computed_attribute.computed_attribute.kind,
358362
},
359363
job_variables={},
360364
)

0 commit comments

Comments
 (0)