Skip to main content

infrahub_sdk.operation

Classes

InfrahubOperation

Methods:

branch_name

branch_name(self) -> str

Return the name of the current git branch.

store

store(self) -> NodeStore

The store will be populated with nodes based on the query during the collection of data if activated

nodes

nodes(self) -> list[InfrahubNode]

Returns nodes collected and parsed during the data collection process if this feature is enabled

related_nodes(self) -> list[InfrahubNode]

Returns nodes collected and parsed during the data collection process if this feature is enabled

process_nodes

process_nodes(self, data: dict) -> None