This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 6ed71fa9416 Add DAG bundles model (#44586)
add 2b7015e5ffe AIP-81 Move CLI Commands to directories according to
Hybrid, Local and Remote (#44538)
No new revisions were added by this update.
Summary of changes:
.github/boring-cyborg.yml | 12 +-
.pre-commit-config.yaml | 4 +-
airflow/api_fastapi/gunicorn_config.py | 2 +-
airflow/cli/cli_config.py | 186 +++++++++++----------
.../commands/hybrid_commands}/__init__.py | 0
.../{ => hybrid_commands}/kubernetes_command.py | 0
.../commands/local_commands}/__init__.py | 0
.../{ => local_commands}/celery_command.py | 2 +-
.../{ => local_commands}/cheat_sheet_command.py | 0
.../commands/{ => local_commands}/daemon_utils.py | 0
.../{ => local_commands}/dag_processor_command.py | 2 +-
.../commands/{ => local_commands}/db_command.py | 0
.../{ => local_commands}/fastapi_api_command.py | 6 +-
.../commands/{ => local_commands}/info_command.py | 0
.../{ => local_commands}/kerberos_command.py | 2 +-
.../{ => local_commands}/plugins_command.py | 0
.../rotate_fernet_key_command.py | 0
.../{ => local_commands}/scheduler_command.py | 2 +-
.../{ => local_commands}/standalone_command.py | 0
.../{ => local_commands}/triggerer_command.py | 2 +-
.../{ => local_commands}/webserver_command.py | 2 +-
.../commands/remote_commands}/__init__.py | 0
.../{ => remote_commands}/asset_command.py | 0
.../{ => remote_commands}/backfill_command.py | 0
.../{ => remote_commands}/config_command.py | 0
.../{ => remote_commands}/connection_command.py | 0
.../commands/{ => remote_commands}/dag_command.py | 0
.../commands/{ => remote_commands}/jobs_command.py | 0
.../commands/{ => remote_commands}/pool_command.py | 0
.../{ => remote_commands}/provider_command.py | 0
.../commands/{ => remote_commands}/task_command.py | 0
.../{ => remote_commands}/variable_command.py | 0
.../{ => remote_commands}/version_command.py | 0
airflow/www/gunicorn_config.py | 2 +-
.../airflow/providers/celery/cli/celery_command.py | 2 +-
.../providers/celery/executors/celery_executor.py | 2 +-
.../fab/auth_manager/cli_commands/db_command.py | 2 +-
providers/tests/celery/cli/test_celery_command.py | 8 +-
.../check_cncf_k8s_used_for_k8s_executor_only.py | 2 +-
scripts/cov/cli_coverage.py | 34 ++--
.../in_container/run_provider_yaml_files_check.py | 2 +-
.../api_fastapi/core_api/routes/public/test_job.py | 2 +-
.../cli/commands/hybrid_commands}/__init__.py | 0
.../test_kubernetes_command.py | 18 +-
.../cli/commands/local_commands}/__init__.py | 0
.../{ => local_commands}/test_celery_command.py | 32 ++--
.../test_cheat_sheet_command.py | 0
.../test_dag_processor_command.py | 4 +-
.../{ => local_commands}/test_db_command.py | 79 +++++----
.../test_fastapi_api_command.py | 4 +-
.../{ => local_commands}/test_info_command.py | 4 +-
.../{ => local_commands}/test_kerberos_command.py | 18 +-
.../{ => local_commands}/test_plugins_command.py | 14 +-
.../test_rotate_fernet_key_command.py | 2 +-
.../{ => local_commands}/test_scheduler_command.py | 55 +++---
.../test_standalone_command.py | 2 +-
.../{ => local_commands}/test_triggerer_command.py | 12 +-
.../{ => local_commands}/test_webserver_command.py | 22 +--
.../cli/commands/remote_commands}/__init__.py | 0
.../{ => remote_commands}/test_asset_command.py | 2 +-
.../{ => remote_commands}/test_backfill_command.py | 6 +-
.../{ => remote_commands}/test_config_command.py | 12 +-
.../test_connection_command.py | 4 +-
.../{ => remote_commands}/test_dag_command.py | 33 ++--
.../{ => remote_commands}/test_jobs_command.py | 2 +-
.../{ => remote_commands}/test_pool_command.py | 2 +-
.../{ => remote_commands}/test_task_command.py | 43 ++---
.../{ => remote_commands}/test_variable_command.py | 2 +-
.../{ => remote_commands}/test_version_command.py | 4 +-
tests/cli/commands/test_legacy_commands.py | 2 +-
tests/deprecations_ignore.yml | 2 +-
.../cli/commands/test_celery_command.py | 6 +-
tests/listeners/file_write_listener.py | 2 +-
73 files changed, 345 insertions(+), 321 deletions(-)
copy airflow/{api_connexion => cli/commands/hybrid_commands}/__init__.py (100%)
rename airflow/cli/commands/{ => hybrid_commands}/kubernetes_command.py (100%)
copy airflow/{api_connexion => cli/commands/local_commands}/__init__.py (100%)
rename airflow/cli/commands/{ => local_commands}/celery_command.py (98%)
rename airflow/cli/commands/{ => local_commands}/cheat_sheet_command.py (100%)
rename airflow/cli/commands/{ => local_commands}/daemon_utils.py (100%)
rename airflow/cli/commands/{ => local_commands}/dag_processor_command.py (96%)
rename airflow/cli/commands/{ => local_commands}/db_command.py (100%)
rename airflow/cli/commands/{ => local_commands}/fastapi_api_command.py (97%)
rename airflow/cli/commands/{ => local_commands}/info_command.py (100%)
rename airflow/cli/commands/{ => local_commands}/kerberos_command.py (94%)
rename airflow/cli/commands/{ => local_commands}/plugins_command.py (100%)
rename airflow/cli/commands/{ => local_commands}/rotate_fernet_key_command.py
(100%)
rename airflow/cli/commands/{ => local_commands}/scheduler_command.py (97%)
rename airflow/cli/commands/{ => local_commands}/standalone_command.py (100%)
rename airflow/cli/commands/{ => local_commands}/triggerer_command.py (96%)
rename airflow/cli/commands/{ => local_commands}/webserver_command.py (99%)
copy airflow/{api_connexion => cli/commands/remote_commands}/__init__.py (100%)
rename airflow/cli/commands/{ => remote_commands}/asset_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/backfill_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/config_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/connection_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/dag_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/jobs_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/pool_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/provider_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/task_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/variable_command.py (100%)
rename airflow/cli/commands/{ => remote_commands}/version_command.py (100%)
copy {airflow/api_connexion => tests/cli/commands/hybrid_commands}/__init__.py
(100%)
rename tests/cli/commands/{ => hybrid_commands}/test_kubernetes_command.py
(93%)
copy {airflow/api_connexion => tests/cli/commands/local_commands}/__init__.py
(100%)
rename tests/cli/commands/{ => local_commands}/test_celery_command.py (90%)
rename tests/cli/commands/{ => local_commands}/test_cheat_sheet_command.py
(100%)
rename tests/cli/commands/{ => local_commands}/test_dag_processor_command.py
(92%)
rename tests/cli/commands/{ => local_commands}/test_db_command.py (88%)
rename tests/cli/commands/{ => local_commands}/test_fastapi_api_command.py
(98%)
rename tests/cli/commands/{ => local_commands}/test_info_command.py (97%)
rename tests/cli/commands/{ => local_commands}/test_kerberos_command.py (87%)
rename tests/cli/commands/{ => local_commands}/test_plugins_command.py (93%)
rename tests/cli/commands/{ =>
local_commands}/test_rotate_fernet_key_command.py (98%)
rename tests/cli/commands/{ => local_commands}/test_scheduler_command.py (74%)
rename tests/cli/commands/{ => local_commands}/test_standalone_command.py (97%)
rename tests/cli/commands/{ => local_commands}/test_triggerer_command.py (81%)
rename tests/cli/commands/{ => local_commands}/test_webserver_command.py (94%)
copy {airflow/api_connexion => tests/cli/commands/remote_commands}/__init__.py
(100%)
rename tests/cli/commands/{ => remote_commands}/test_asset_command.py (98%)
rename tests/cli/commands/{ => remote_commands}/test_backfill_command.py (92%)
rename tests/cli/commands/{ => remote_commands}/test_config_command.py (96%)
rename tests/cli/commands/{ => remote_commands}/test_connection_command.py
(99%)
rename tests/cli/commands/{ => remote_commands}/test_dag_command.py (96%)
rename tests/cli/commands/{ => remote_commands}/test_jobs_command.py (99%)
rename tests/cli/commands/{ => remote_commands}/test_pool_command.py (99%)
rename tests/cli/commands/{ => remote_commands}/test_task_command.py (96%)
rename tests/cli/commands/{ => remote_commands}/test_variable_command.py (99%)
rename tests/cli/commands/{ => remote_commands}/test_version_command.py (87%)