uranusjr commented on a change in pull request #15582:
URL: https://github.com/apache/airflow/pull/15582#discussion_r622667263
##########
File path: airflow/utils/helpers.py
##########
@@ -181,7 +184,7 @@ def merge_dicts(dict1, dict2):
return merged
-def partition(pred: Callable, iterable: Iterable):
+def partition(pred: Callable[[T], bool], iterable: Iterable[T]):
Review comment:
```suggestion
def partition(pred: Callable[[T], bool], iterable: Iterable[T]) ->
Tuple[Iterable[T], Iterable[T]]:
```
(I think?)
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]