class_docstr: Runs the query against Oracle and stores the file locally before loading it into Azure Data Lake.
  
  :param filename: file name to be used by the csv file.
  :param azure_data_lake_conn_id: destination azure data lake connection.
  :param azure_data_lake_path: destination path in azure data lake to put the file.
  :param oracle_conn_id: :ref:`Source Oracle connection <howto/connection:oracle>`.
  :param sql: SQL query to execute against the Oracle database. (templated)
  :param sql_params: Parameters to use in sql query. (templated)
  :param delimiter: field delimiter in the file.
  :param encoding: encoding type for the file.
  :param quotechar: Character to use in quoting.
  :param quoting: Quoting strategy. See csv library for more information.
class_docstr_tok: ["Runs","the","query","against","Oracle","and","stores","the","file","locally","before","loading","it","into","Azure","Data","Lake",".",":","param","filename",":","file","name","to","be","used","by","the","csv","file",".",":","param","azure_data_lake_conn_id",":","destination","azure","data","lake","connection",".",":","param","azure_data_lake_path",":","destination","path","in","azure","data","lake","to","put","the","file",".",":","param","oracle_conn_id",":",":","ref",":","`","Source","Oracle","connection","<","howto\/connection",":","oracle",">","`",".",":","param","sql",":","SQL","query","to","execute","against","the","Oracle","database",".","(","templated",")",":","param","sql_params",":","Parameters","to","use","in","sql","query",".","(","templated",")",":","param","delimiter",":","field","delimiter","in","the","file",".",":","param","encoding",":","encoding","type","for","the","file",".",":","param","quotechar",":","Character","to","use","in","quoting",".",":","param","quoting",":","Quoting","strategy",".","See","csv","library","for","more","information","."]
code: def _write_temp_file(
      self, cursor: Any, path_to_save: str | bytes | int
  ) -> None:
      with open(path_to_save, "w", encoding=self.encoding) as csvfile:
          csv_writer = csv.writer(
              csvfile,
              delimiter=self.delimiter,
              quotechar=self.quotechar,
              quoting=self.quoting,
          )
          csv_writer.writerow(field[0] for field in cursor.description)
          csv_writer.writerows(cursor)
          csvfile.flush()
  
file_path: airflow/airflow/providers/microsoft/azure/transfers/oracle_to_azure_data_lake.py
imports: from __future__ import annotations
  import csv
  import os
  from tempfile import TemporaryDirectory
  from typing import TYPE_CHECKING, Any, Sequence
  from airflow.models import BaseOperator
  from airflow.providers.microsoft.azure.hooks.data_lake import AzureDataLakeHook
  from airflow.providers.oracle.hooks.oracle import OracleHook
label_desc: Use image node_id 2 for calling the OracleToAzureDataLakeOperator obj's underlying member method code with example usage: obj._write_temp_file(cursor, path_to_save) without return types