Add airflowctl tasks state command#66213
Open
PrithviBadiga wants to merge 3 commits intoapache:mainfrom
Open
Conversation
|
@PrithviBadiga Hi! It looks like we've opened overlapping PRs for the same issue. It would be great if we could discuss our differences and see how to best combine our work. |
|
@PrithviBadiga Why don't you check out my PR and share your thoughts? Then, we could look into making a co-authored commit together. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
airflowctl tasks stateto theairflow-ctlCLI.Updates:
airflowctl.ctl.commands.task_command.stateGET /api/v2/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}AirflowConsolecli_config.pyairflowctl-testscommand listVerification:
PYTHONPATH=/Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/src /Users/prith/Desktop/Codex/airflow/.venv/bin/python -m pytest /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/tests/airflow_ctl/ctl/commands/test_task_command.py /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/tests/airflow_ctl/ctl/test_cli_config.py -qPYTHONPATH=/Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/src /Users/prith/Desktop/Codex/airflow/.venv/bin/python -m ruff check /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/src/airflowctl/ctl/commands/task_command.py /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/src/airflowctl/ctl/cli_config.py /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl/tests/airflow_ctl/ctl/commands/test_task_command.py /Users/prith/Desktop/Codex/airflow-66174/airflow-ctl-tests/tests/airflowctl_tests/test_airflowctl_commands.pyThis closes: #66174