Skip to main content

infrahub_sdk.node.related_node

Classes​

RelatedNodeBase ​

Base class for representing a related node in a relationship.

Methods:

id ​

id(self) -> str | None

hfid ​

hfid(self) -> list[Any] | None

hfid_str ​

hfid_str(self) -> str | None

is_resource_pool ​

is_resource_pool(self) -> bool

initialized ​

initialized(self) -> bool

display_label ​

display_label(self) -> str | None

typename ​

typename(self) -> str | None

kind ​

kind(self) -> str | None

RelatedNode ​

Represents a RelatedNodeBase in an asynchronous context.

Methods:

fetch ​

fetch(self, timeout: int | None = None) -> None

peer ​

peer(self) -> InfrahubNode

get ​

get(self) -> InfrahubNode

RelatedNodeSync ​

Represents a related node in a synchronous context.

Methods:

fetch ​

fetch(self, timeout: int | None = None) -> None

peer ​

peer(self) -> InfrahubNodeSync

get ​

get(self) -> InfrahubNodeSync