Skip to main content

infrahub_sdk.transfer.importer.json

Classes​

LineDelimitedJSONImporter ​

Methods:

wrapped_task_output ​

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

import_data ​

import_data(self, import_directory: Path, branch: str) -> None

remove_and_store_optional_relationships ​

remove_and_store_optional_relationships(self) -> None

update_optional_relationships ​

update_optional_relationships(self) -> None

update_many_to_many_relationships ​

update_many_to_many_relationships(self, file: Path) -> None

execute_batches ​

execute_batches(self, batches: list[InfrahubBatch], progress_bar_message: str = 'Executing batches') -> Sequence[Any]