Skip to content

Add bundle name arg to list dags cli command - #45779

Merged
jedcunningham merged 20 commits into
apache:mainfrom
ambika-garg:open-source-2
Feb 28, 2025
Merged

jedcunningham merged 20 commits into
apache:mainfrom
ambika-garg:open-source-2

Conversation

@ambika-garg

@ambika-garg ambika-garg commented Jan 18, 2025 •

Copy link
Copy Markdown
Contributor

closes: #45646


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@jedcunningham
jedcunningham self-requested a review January 20, 2025 02:29
@jscheffl jscheffl added the legacy api Whether legacy API changes should be allowed in PR label Jan 26, 2025
Comment thread airflow/cli/cli_config.py Resolved
@ambika-garg
ambika-garg force-pushed the open-source-2 branch 3 times, most recently from 7b4d630 to 303d6c3 Compare February 5, 2025 03:40
@ambika-garg
ambika-garg marked this pull request as ready for review February 5, 2025 04:18
@jedcunningham

Copy link
Copy Markdown
Member

@ambika-garg, check our #46571 which just made it so more than 1 bundle can be passed via the cli. You'll need to refactor a tiny bit to support that here.

@ambika-garg

Copy link
Copy Markdown
Contributor Author

@ambika-garg, check our #46571 which just made it so more than 1 bundle can be passed via the cli. You'll need to refactor a tiny bit to support that here.

Screenshot 2025-02-08 at 4 55 51 PM

@jedcunningham jedcunningham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. Think we need some cycles on tests though.

@ambika-garg

Copy link
Copy Markdown
Contributor Author

Overall looks good. Think we need some cycles on tests though.

I've fixed the test, it works fine now. Please review it once. I think now PR looks good.

Comment thread tests_common/pytest_plugin.py Resolved
Comment thread tests_common/pytest_plugin.py Resolved
ambika-garg and others added 20 commits February 27, 2025 19:21
* Fix the list_dags function, to filter the dags by bundle name
@jedcunningham
jedcunningham merged commit 22da959 into apache:main Feb 28, 2025
@github-project-automation github-project-automation Bot moved this from In Progress to Done in AIP-66: DAG Bundles & Parsing Feb 28, 2025
@jedcunningham

Copy link
Copy Markdown
Member

Thanks @ambika-garg!

Sharashchandra pushed a commit to Sharashchandra/airflow that referenced this pull request Feb 28, 2025
@ambika-garg
ambika-garg deleted the open-source-2 branch February 28, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI area:dag-bundles AIP-66 legacy api Whether legacy API changes should be allowed in PR

Projects

Development

Successfully merging this pull request may close these issues.

Add bundle_name and latest_bundle_version to dags list command

4 participants