Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Oct 14, 2024
1 parent 48334d4 commit cd45391
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dlt/cli/_dlt.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ def main() -> int:
# print exception if available
if raiseable_exception:
click.secho(str(ex), err=True, fg="red")
fmt.note(f"Please refer to our docs at '%s' for further assistance." % docs_url)

fmt.note("Please refer to our docs at '%s' for further assistance." % docs_url)
if debug.is_debug_enabled() and raiseable_exception:
raise raiseable_exception

Expand Down
3 changes: 2 additions & 1 deletion dlt/cli/command_wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
from dlt.cli import deploy_command
from dlt.cli.deploy_command import (
PipelineWasNotRun,
DLT_DEPLOY_DOCS_URL,
)
except ModuleNotFoundError:
pass

DLT_DEPLOY_DOCS_URL = "https://dlthub.com/docs/walkthroughs/deploy-a-pipeline"


@utils.track_command("init", False, "source_name", "destination_type")
def init_command_wrapper(
Expand Down
1 change: 0 additions & 1 deletion dlt/cli/deploy_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from dlt.common.destination.reference import Destination

REQUIREMENTS_GITHUB_ACTION = "requirements_github_action.txt"
DLT_DEPLOY_DOCS_URL = "https://dlthub.com/docs/walkthroughs/deploy-a-pipeline"
DLT_AIRFLOW_GCP_DOCS_URL = (
"https://dlthub.com/docs/walkthroughs/deploy-a-pipeline/deploy-with-airflow-composer"
)
Expand Down

0 comments on commit cd45391

Please sign in to comment.