villebro commented on a change in pull request #9138: [mypy] Enforcing typing 
for db_engine_specs
URL: 
https://github.com/apache/incubator-superset/pull/9138#discussion_r379494767
 
 

 ##########
 File path: superset/db_engine_specs/presto.py
 ##########
 @@ -712,7 +720,7 @@ def get_create_view(cls, database, schema: str, table: 
str) -> Optional[str]:
         return rows[0][0]
 
     @classmethod
-    def handle_cursor(cls, cursor, query, session):
+    def handle_cursor(cls, cursor: Any, query: Select, session: Session) -> 
None:
 
 Review comment:
   same as above

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to