You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by we...@apache.org on 2026/06/30 11:08:17 UTC
(airflow) 03/04: fix mypy error
This is an automated email from the ASF dual-hosted git repository.
Lee-W pushed a commit to branch ci-upgrade-main
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 76c9aac9db6e75a18a62ee67c931c78631306441
Author: Wei Lee <we...@gmail.com>
AuthorDate: Tue Jun 30 16:11:01 2026 +0800
fix mypy error
---
dev/breeze/src/airflow_breeze/utils/custom_param_types.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/custom_param_types.py b/dev/breeze/src/airflow_breeze/utils/custom_param_types.py
index 365e2e4e794..93f7ccd660c 100644
--- a/dev/breeze/src/airflow_breeze/utils/custom_param_types.py
+++ b/dev/breeze/src/airflow_breeze/utils/custom_param_types.py
@@ -192,9 +192,9 @@ class CacheableChoice(click.Choice):
if not current_value:
current_choices = self.choices
else:
- current_choices = [
+ current_choices = tuple(
f">{choice}<" if choice == current_value else choice for choice in self.choices
- ]
+ )
choices_str = " | ".join(current_choices)
# Use curly braces to indicate a required argument.
if param.required and param.param_type_name == "argument":