gopidesupavan commented on code in PR #53047:
URL: https://github.com/apache/airflow/pull/53047#discussion_r2194335553


##########
task-sdk/src/airflow/sdk/definitions/asset/__init__.py:
##########
@@ -633,7 +633,7 @@ def iter_dag_dependencies(self, *, source: str, target: 
str) -> Iterator[DagDepe
 class AssetAny(AssetBooleanCondition):
     """Use to combine assets schedule references in an "or" relationship."""
 
-    agg_func = any
+    agg_func = any  # type: ignore[assignment]

Review Comment:
   ```
   root@089a1313fffc:/opt/airflow# mypy 
task-sdk/src/airflow/sdk/definitions/asset/__init__.py
   task-sdk/src/airflow/sdk/definitions/asset/__init__.py:636: error: 
Incompatible types in assignment (expression has type "Callable[[], bool]", 
base class "AssetBooleanCondition" defined the type as 
"Callable[[Iterable[Any]], bool]")  [assignment]
   task-sdk/src/airflow/sdk/definitions/asset/__init__.py:659: error: 
Incompatible types in assignment (expression has type "Callable[[], bool]", 
base class "AssetBooleanCondition" defined the type as 
"Callable[[Iterable[Any]], bool]")  [assignment]
   Found 2 errors in 1 file (checked 1 source file)
   
   ```



-- 
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]

Reply via email to