diff --git a/cratedb_toolkit/cfr/cli.py b/cratedb_toolkit/cfr/cli.py index e38b7950..15dccfd7 100644 --- a/cratedb_toolkit/cfr/cli.py +++ b/cratedb_toolkit/cfr/cli.py @@ -2,8 +2,6 @@ # Distributed under the terms of the AGPLv3 license, see LICENSE. import logging import sys -import tempfile -from pathlib import Path import click from click_aliases import ClickAliasedGroup diff --git a/cratedb_toolkit/cfr/systable.py b/cratedb_toolkit/cfr/systable.py index 3ffdd98a..dc7f67fa 100644 --- a/cratedb_toolkit/cfr/systable.py +++ b/cratedb_toolkit/cfr/systable.py @@ -192,6 +192,7 @@ def make_tarfile(source_folder: Path, target_file_path: Path) -> Path: tar.add(source_folder.absolute(), arcname=os.path.basename(source_folder)) return target_file_path + class SystemTableImporter: """ Import schema and data about CrateDB system tables.