mik-laj commented on a change in pull request #9883:
URL: https://github.com/apache/airflow/pull/9883#discussion_r457056911
##########
File path: airflow/providers/openfaas/hooks/openfaas.py
##########
@@ -83,7 +83,7 @@ def invoke_async_function(self, body):
self.log.error("Response status %d", response.status_code)
raise AirflowException('failed to invoke function')
- def update_function(self, body):
+ def update_function(self, body: str) -> None:
Review comment:
```suggestion
def update_function(self, body: : Dict[str, Any]) -> 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]