File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
backend/infrahub/computed_attribute Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments