ephraimbuddy commented on a change in pull request #9729:
URL: https://github.com/apache/airflow/pull/9729#discussion_r451863059
##########
File path: airflow/utils/decorators.py
##########
@@ -21,13 +21,14 @@
import os
from copy import copy
from functools import wraps
+from typing import Any, Callable, Dict
from airflow.exceptions import AirflowException
signature = inspect.signature
-def apply_defaults(func):
+def apply_defaults(func: Callable[..., Any]) -> Any:
Review comment:
```suggestion
def apply_defaults(func: Callable[..., Any]) -> Callable[..., Any]:
```
----------------------------------------------------------------
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]