Skip to main content

infrahub_sdk.yaml

Classes

InfrahubFileApiVersion

InfrahubFileKind

InfrahubFileData

LocalFile

YamlFile

Methods:

load_content

load_content(self) -> None

validate_content

validate_content(self) -> None

init

init(cls, location: Path, multiple_documents: bool, content: dict | None) -> Self

load_file_from_disk

load_file_from_disk(cls, path: Path) -> list[Self]

load_from_disk

load_from_disk(cls, paths: list[Path]) -> list[Self]

InfrahubFile

Methods:

data

data(self) -> InfrahubFileData

version

version(self) -> InfrahubFileApiVersion

kind

kind(self) -> InfrahubFileKind

validate_content

validate_content(self) -> None

SchemaFile

Methods:

payload

payload(self) -> dict[str, Any]