XD-DENG opened a new pull request #4043: [AIRFLOW-3174] Refine Docstring for SQL Operators & Hooks URL: https://github.com/apache/incubator-airflow/pull/4043 ### JIRA https://issues.apache.org/jira/browse/AIRFLOW-3174 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: - These SQL operators (based on `DbApiHook`) receive `sql` and `parameters` (optional) as arguments. But `parameters` were not documented. The contents I added is based on the docstring in https://github.com/apache/incubator-airflow/blob/master/airflow/hooks/dbapi_hook.py#L88 - Fixed two minor style errors which would cause incorrect documentation rendering - Added docstring for `autocommit` parameter in relevant operators. The content is based on https://db.apache.org/derby/docs/10.9/devguide/cdevconcepts29416.html and https://www.postgresql.org/docs/9.1/static/ecpg-commands.html - Adjusted order or docstring items to make sure they are consistent with the order of arguments.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
