Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling available subcommands when cli isn't installed #2272

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

anuunchin
Copy link
Contributor

Description

The Available Subcommands for dlt deploy, including github-action and airflow-composer, are displayed in help even when the dlt[cli] extra is not installed.

Related Issues

Additional Context

Basically, now the pipdeptree and cron_descriptor imports in deploy_command_helpers.py do not fail, and plugins.py directly checks if they can be available in order to decide whether the deploy_command_available resolves to True - instead of depending on a ModuleNotFound error that stems from these imports in deploy_command_helpers.py.

Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit cf360b7
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/67a4dc0a9cfa040008241d75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant