kaxil commented on a change in pull request #10025:
URL: https://github.com/apache/airflow/pull/10025#discussion_r463206273



##########
File path: airflow/providers/amazon/aws/hooks/athena.py
##########
@@ -113,7 +122,9 @@ def get_state_change_reason(self, query_execution_id):
             # The error is being absorbed to implement retries.
             return reason  # pylint: disable=lost-exception
 
-    def get_query_results(self, query_execution_id, next_token_id=None, 
max_results=1000):
+    def get_query_results(self, query_execution_id: str,
+                          next_token_id: Optional[str] = None,
+                          max_results: int = 1000) -> Optional[Dict]:

Review comment:
       ```suggestion
                             max_results: int = 1000) -> Optional[dict]:
   ```




----------------------------------------------------------------
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]


Reply via email to