bugraoz93 commented on code in PR #53408:
URL: https://github.com/apache/airflow/pull/53408#discussion_r2210954879
##########
airflow-core/src/airflow/api_fastapi/common/parameters.py:
##########
@@ -259,8 +278,14 @@ def depends(cls, *args: Any, **kwargs: Any) -> Self:
raise NotImplementedError("Use dynamic_depends, depends not
implemented.")
def dynamic_depends(self, default: str | None = None) -> Callable:
- def inner(order_by: str = default or self.get_primary_key_string()) ->
SortParam:
- return self.set_value(self.get_primary_key_string() if order_by ==
"" else order_by)
+ def inner(
+ order_by: list[str] = Query(
+ default=[default] if default is not None else
[self.get_primary_key_string()]
+ ),
+ ) -> SortParam:
+ print(order_by)
+ print(self.to_replace)
Review Comment:
```suggestion
```
Some debugging prints that needs to be deleted :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]