uranusjr commented on code in PR #57466:
URL: https://github.com/apache/airflow/pull/57466#discussion_r2471830842
##########
airflow-core/src/airflow/api_fastapi/common/parameters.py:
##########
@@ -410,7 +412,11 @@ def filter_param_factory(
def depends_filter(value: T | None = query) -> FilterParam[T | None]:
if transform_callable:
value = transform_callable(value)
- return FilterParam(attribute, value, filter_option, skip_none)
+ # Cast to InstrumentedAttribute for type compatibility
+ from typing import cast
Review Comment:
Please import at the top.
--
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]