This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit eb49d31fc19f4746bfa1ee111e31989fc9f832da Author: Jarek Potiuk <[email protected]> AuthorDate: Fri May 13 13:00:39 2022 +0200 Fix property name in breeze Shell Params (#23696) The rename from #23562 missed few shell_parms usage where it also should be replaced. (cherry picked from commit 4afa8e3cecf1e4a2863715d14a45160034ad31a6) --- dev/breeze/src/airflow_breeze/params/shell_params.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev/breeze/src/airflow_breeze/params/shell_params.py b/dev/breeze/src/airflow_breeze/params/shell_params.py index 0828510aea..560bbb97c6 100644 --- a/dev/breeze/src/airflow_breeze/params/shell_params.py +++ b/dev/breeze/src/airflow_breeze/params/shell_params.py @@ -131,13 +131,12 @@ class ShellParams: return enabled_integration @property - def the_image_type(self) -> str: - the_image_type = 'CI' - return the_image_type + def image_type(self) -> str: + return 'CI' @property def md5sum_cache_dir(self) -> Path: - cache_dir = Path(BUILD_CACHE_DIR, self.airflow_branch, self.python, self.the_image_type) + cache_dir = Path(BUILD_CACHE_DIR, self.airflow_branch, self.python, self.image_type) return cache_dir @property @@ -158,7 +157,7 @@ class ShellParams: def print_badge_info(self): if self.verbose: - get_console().print(f'[info]Use {self.the_image_type} image[/]') + get_console().print(f'[info]Use {self.image_type} image[/]') get_console().print(f'[info]Branch Name: {self.airflow_branch}[/]') get_console().print(f'[info]Docker Image: {self.airflow_image_name_with_tag}[/]') get_console().print(f'[info]Airflow source version:{self.airflow_version}[/]')
