Skip to content

Commit

Permalink
move import to top
Browse files Browse the repository at this point in the history
  • Loading branch information
maaikelimper committed Dec 16, 2024
1 parent 7650167 commit 7b58b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wis2box-management/wis2box/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 7b58b32

Please sign in to comment.