Skip to content

feat (airflowctl): add dag operations to conform all API endpoints - #50424

Merged
bugraoz93 merged 4 commits into
apache:mainfrom
jx2lee:airflowctl-dag
May 17, 2025
Merged

bugraoz93 merged 4 commits into
apache:mainfrom
jx2lee:airflowctl-dag

Conversation

@jx2lee

@jx2lee jx2lee commented May 10, 2025 •

Copy link
Copy Markdown
Contributor

closes: #45665


^ 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 airflow-core/newsfragments.

@jx2lee

jx2lee commented May 10, 2025

Copy link
Copy Markdown
Contributor Author

@bugraoz93
https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_dag_runs

Does it need adding all query parameters to operation method? Existed method like Get Dag Runs, doesn't have all parameters.

@bugraoz93

Copy link
Copy Markdown
Contributor

@bugraoz93 https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html#operation/get_dag_runs

Does it need adding all query parameters to operation method? Existed method like Get Dag Runs, doesn't have all parameters.

Yes, it would be ideal to include those parameters as well, but we can exclude DagRun from the scope of this one.

@bugraoz93 bugraoz93 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Direction looks good!
These should also be under the dag operations.

  • dag_version
  • dag_warnings
  • dag_stats
  • dag_list_import_errors

@jx2lee
jx2lee force-pushed the airflowctl-dag branch 3 times, most recently from d58034e to bd25d9f Compare May 12, 2025 15:18
@jx2lee
jx2lee marked this pull request as ready for review May 15, 2025 13:08
@jx2lee
jx2lee requested review from kaxil and potiuk as code owners May 15, 2025 13:08
@jx2lee
jx2lee requested a review from bugraoz93 May 15, 2025 13:08
@jx2lee
jx2lee force-pushed the airflowctl-dag branch 3 times, most recently from 6bc777c to 020f72c Compare May 15, 2025 21:56
@bugraoz93

Copy link
Copy Markdown
Contributor

Thanks for the updates! I will check this in detail tomorrow :)

@bugraoz93 bugraoz93 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! Thanks @jx2lee!

@jx2lee

jx2lee commented May 17, 2025 •

Copy link
Copy Markdown
Contributor Author

Looks good! Thanks @jx2lee!

Thanks for review @bugraoz93 🙏
Is there any ongoing issue related to remote CLI? It's such an interesting topic—I’d love to keep contributing.

@bugraoz93

Copy link
Copy Markdown
Contributor

Looks good! Thanks @jx2lee!

Thanks for review @bugraoz93 🙏 Is there any ongoing issue related to remote CLI? It's such an interesting topic—I’d love to keep contributing.

I saw you have already found one. Thanks! :)

@bugraoz93

Copy link
Copy Markdown
Contributor

Rebasing and merging :)

@bugraoz93
bugraoz93 merged commit 5785597 into apache:main May 17, 2025
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIP-81 Transition of DAG Command

3 participants