thepabloaguilar commented on a change in pull request #9943:
URL: https://github.com/apache/airflow/pull/9943#discussion_r459484925



##########
File path: airflow/providers/postgres/operators/postgres.py
##########
@@ -60,9 +60,9 @@ def __init__(
         self.autocommit = autocommit
         self.parameters = parameters
         self.database = database
-        self.hook = None
+        self.hook: Optional[PostgresHook] = None
 
-    def execute(self, context):
+    def execute(self, context: Dict[Any, Any]) -> None:

Review comment:
       Maybe yes




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