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/08/04 07:39:32 UTC

[GitHub] [airflow] shadrus opened a new pull request #17406: Fix type annotations in OracleOperator, JdbcOperator, SqliteOperator

shadrus opened a new pull request #17406:
URL: https://github.com/apache/airflow/pull/17406


   Each SQL Operator that uses 'run' method from DbApiHook can receive a str representing a sql statement, a list of str (sql statements), or reference to a template file.
   But type annotations in OracleOperator, JdbcOperator and SqliteOperator are 'str' only.
   This leads to misunderstandings in IDE if list was used.
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
   


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



[GitHub] [airflow] potiuk merged pull request #17406: Fix type annotations in OracleOperator, JdbcOperator, SqliteOperator

Posted by GitBox <gi...@apache.org>.
potiuk merged pull request #17406:
URL: https://github.com/apache/airflow/pull/17406


   


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