From 7b58b32bd0bda59ae2f2d3e733db715042dbc242 Mon Sep 17 00:00:00 2001 From: Maaike Date: Mon, 16 Dec 2024 13:54:34 +0100 Subject: [PATCH] move import to top --- wis2box-management/wis2box/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wis2box-management/wis2box/api/__init__.py b/wis2box-management/wis2box/api/__init__.py index 51cf51e2..dd9f3ddc 100644 --- a/wis2box-management/wis2box/api/__init__.py +++ b/wis2box-management/wis2box/api/__init__.py @@ -30,6 +30,7 @@ from wis2box import cli_helpers from wis2box.api.backend import load_backend from wis2box.api.config import load_config +from wis2box.data import gcm from wis2box.data_mappings import get_plugins from wis2box.env import (DOCKER_API_URL, API_URL) @@ -271,7 +272,6 @@ def setup(ctx, verbosity): continue if metadata_id not in api_collections: click.echo(f'Adding data-collection for: {metadata_id}') - from wis2box.data import gcm meta = gcm(record) setup_collection(meta=meta)