Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix property name in breeze Shell Params #23696

Merged
merged 1 commit into from
May 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions dev/breeze/src/airflow_breeze/params/shell_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ def enabled_integrations(self) -> str:
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
Expand All @@ -158,7 +157,7 @@ def sqlite_url(self) -> str:

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}[/]')
Expand Down