infrahub_sdk.ctl.importer
Functions
local_directory
local_directory() -> Path
load
load(directory: Path = typer.Option(local_directory, help='Directory path of exported data'), continue_on_error: bool = typer.Option(False, help='Allow exceptions during loading and display them when complete'), quiet: bool = typer.Option(False, help='No console output'), _: str = CONFIG_PARAM, branch: str = typer.Option(None, help='Branch from which to export'), concurrent: Optional[int] = typer.Option(None, help='Maximum number of requests to execute at the same time.', envvar='INFRAHUB_MAX_CONCURRENT_EXECUTION'), timeout: int = typer.Option(60, help='Timeout in sec', envvar='INFRAHUB_TIMEOUT')) -> None
Import nodes and their relationships into the database.