diff --git a/utilities/ideascale-importer/ideascale_importer/cli/snapshot.py b/utilities/ideascale-importer/ideascale_importer/cli/snapshot.py index 5abfd352c7..9d04d5031a 100644 --- a/utilities/ideascale-importer/ideascale_importer/cli/snapshot.py +++ b/utilities/ideascale-importer/ideascale_importer/cli/snapshot.py @@ -25,7 +25,7 @@ def import_snapshot( catalyst_toolbox_path: str = typer.Option( default="catalyst-toolbox", envvar="CATALYST_TOOLBOX_PATH", help="Path to the catalyst-toolbox" ), - gvc_api_url: str = typer.Option(..., envvar="GVC_API_URL", help="URL of the GVC API"), + gvc_api_url: str = typer.Option(default="", envvar="GVC_API_URL", help="DEPRECATED. URL of the GVC API"), raw_snapshot_file: str = typer.Option( None, help=( @@ -102,7 +102,6 @@ async def inner(): network_ids=network_ids, snapshot_tool_path=snapshot_tool_path, catalyst_toolbox_path=catalyst_toolbox_path, - gvc_api_url=gvc_api_url, raw_snapshot_file=raw_snapshot_file, ssh_config=ssh_config, ) diff --git a/utilities/ideascale-importer/ideascale_importer/snapshot_importer.py b/utilities/ideascale-importer/ideascale_importer/snapshot_importer.py index 2b7c3dac46..7b38ed4286 100644 --- a/utilities/ideascale-importer/ideascale_importer/snapshot_importer.py +++ b/utilities/ideascale-importer/ideascale_importer/snapshot_importer.py @@ -290,14 +290,12 @@ def __init__( network_ids: List[Literal["mainnet", "preprod", "testnet"]], snapshot_tool_path: str, catalyst_toolbox_path: str, - gvc_api_url: str, raw_snapshot_file: Optional[str] = None, ssh_config: Optional[SSHConfig] = None, ): """Initialize the importer.""" self.snapshot_tool_path = snapshot_tool_path self.catalyst_toolbox_path = catalyst_toolbox_path - self.gvc_api_url = gvc_api_url self.eventdb_url = eventdb_url self.event_id = event_id