From 2752f78b13695f197bb45f1dc2f96e4a661d47f3 Mon Sep 17 00:00:00 2001 From: Leo Schick Date: Thu, 7 Dec 2023 16:48:19 +0100 Subject: [PATCH] improve code --- mara_catalog/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mara_catalog/cli.py b/mara_catalog/cli.py index d619c6d..8271dc9 100644 --- a/mara_catalog/cli.py +++ b/mara_catalog/cli.py @@ -4,6 +4,9 @@ import click +from . import config +from .connect import connect_catalog_mara_commands + @click.group() def mara_catalog(): @@ -39,8 +42,6 @@ def connect( from mara_pipelines.commands.python import RunFunction import mara_pipelines.cli import mara_pipelines.config - from . import config - from .connect import connect_catalog_mara_commands # create pipeline pipeline = Pipeline( @@ -49,7 +50,6 @@ def connect( def create_schema_if_not_exist(db_alias: str, schema_name: str) -> bool: import sqlalchemy - import sqlalchemy.sql import sqlalchemy.schema import mara_db.sqlalchemy_engine