amoghrajesh commented on code in PR #53047:
URL: https://github.com/apache/airflow/pull/53047#discussion_r2194204887
##########
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:
What happens if you do not add the type ignore?
##########
task-sdk/src/airflow/sdk/definitions/taskgroup.py:
##########
@@ -613,7 +614,7 @@ class MappedTaskGroup(TaskGroup):
a ``@task_group`` function instead.
"""
- def __init__(self, *, expand_input: SchedulerExpandInput, **kwargs: Any)
-> None:
+ def __init__(self, *, expand_input: SchedulerExpandInput | ExpandInput,
**kwargs: Any) -> None:
Review Comment:
Hmm, i do not know if this is correct
--
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]