You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/09/05 09:11:21 UTC

[GitHub] [airflow] uranusjr commented on a change in pull request #17974: WIP: Implement before stm and after stm in DBApiHooks

uranusjr commented on a change in pull request #17974:
URL: https://github.com/apache/airflow/pull/17974#discussion_r702393245



##########
File path: airflow/hooks/dbapi.py
##########
@@ -273,6 +273,10 @@ def _generate_insert_sql(table, values, target_fields, replace, **kwargs):
         :type target_fields: iterable of strings
         :param replace: Whether to replace instead of insert
         :type replace: bool
+
+        :keyword str before_statement: before statement sql eg: `INSERT IGNORE INTO TABLE`
+        :keyword str after_statement: after statement sql eg: `ON CONFLICT DO NOTHING`

Review comment:
       Is `:keyword` a thing?




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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org