diff --git a/airflow/api_fastapi/common/parameters.py b/airflow/api_fastapi/common/parameters.py index e18bb530ae753..23817e92006e5 100644 --- a/airflow/api_fastapi/common/parameters.py +++ b/airflow/api_fastapi/common/parameters.py @@ -239,7 +239,7 @@ def to_orm(self, select: Select) -> Select: raise ValueError(f"Cannot set 'skip_none' to False on a {type(self)}") if self.value is None: - return select + self.value = self.get_primary_key_string() lstriped_orderby = self.value.lstrip("-") if self.to_replace: