kaxil commented on a change in pull request #9773:
URL: https://github.com/apache/airflow/pull/9773#discussion_r453250012
##########
File path: airflow/providers/discord/operators/discord_webhook.py
##########
@@ -81,7 +83,7 @@ def __init__(self,
self.proxy = proxy
self.hook = None
- def execute(self, context):
+ def execute(self, context: Dict[Any, Any]) -> None:
Review comment:
Since it is just `Any, Any` there isn't much advantage of Dict compared
to dict
```suggestion
def execute(self, context: dict) -> None:
```
----------------------------------------------------------------
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]