turbaszek commented on a change in pull request #10864:
URL: https://github.com/apache/airflow/pull/10864#discussion_r486614542



##########
File path: airflow/providers/postgres/hooks/postgres.py
##########
@@ -191,7 +203,7 @@ def get_iam_token(self, conn):
         return login, token, port
 
     @staticmethod
-    def _generate_insert_sql(table, values, target_fields, replace, **kwargs):
+    def _generate_insert_sql(table: str, values: Tuple[object, ...], 
target_fields: Iterable[str], replace: bool, **kwargs) -> str:

Review comment:
       ```suggestion
       def _generate_insert_sql(table: str, values: Tuple[str, ...], 
target_fields: Iterable[str], replace: bool, **kwargs) -> str:
   ```
   According to `DbApiHook._serialize_cell` 




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