Skip to main content

infrahub_sdk.transfer.exporter.json

Classes

LineDelimitedJSONExporter

Methods:

wrapped_task_output

wrapped_task_output(self, start: str, end: str = '[green]done') -> Generator

identify_many_to_many_relationships

identify_many_to_many_relationships(self, node_schema_map: dict[str, MainSchemaTypesAPI]) -> dict[tuple[str, str], str]

retrieve_many_to_many_relationships

retrieve_many_to_many_relationships(self, node_schema_map: dict[str, MainSchemaTypesAPI], branch: str) -> list[dict[str, Any]]

export

export(self, export_directory: Path, namespaces: list[str], branch: str, exclude: list[str] | None = None) -> None