You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/01 09:14:42 UTC
[GitHub] [airflow] XD-DENG commented on a change in pull request #15582: Add more typing to airflow.utils.helpers
XD-DENG commented on a change in pull request #15582:
URL: https://github.com/apache/airflow/pull/15582#discussion_r624472183
##########
File path: airflow/utils/helpers.py
##########
@@ -21,7 +21,7 @@
from datetime import datetime
from functools import reduce
from itertools import filterfalse, tee
-from typing import Any, Callable, Dict, Generator, Iterable, List, Optional, TypeVar
+from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, Iterable, List, Optional, TypeVar
Review comment:
```suggestion
from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, Iterable, List, Optional, Tuple, TypeVar
```
This is needed to address the static check error caused by line 187
--
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:
users@infra.apache.org