:mod:`airflow.operators.oracle_operator` ======================================== .. py:module:: airflow.operators.oracle_operator Module Contents --------------- .. py:class:: OracleOperator(sql, oracle_conn_id='oracle_default', parameters=None, autocommit=False, *args, **kwargs) Bases::class:`airflow.models.BaseOperator` Executes sql code in a specific Oracle database :param sql: the sql code to be executed. Can receive a str representing a sql statement, a list of str (sql statements), or reference to a template file. Template reference are recognized by str ending in '.sql' (templated) :type sql: str or list[str] :param oracle_conn_id: reference to a specific Oracle database :type oracle_conn_id: str :param parameters: (optional) the parameters to render the SQL query with. :type parameters: mapping or iterable :param autocommit: if True, each command is automatically committed. (default value: False) :type autocommit: bool .. attribute:: template_fields :annotation: = ['sql'] .. attribute:: template_ext :annotation: = ['.sql'] .. attribute:: ui_color :annotation: = #ededed .. method:: execute(self, context)