class_docstr: Executes SQL code in a specific database.
  
  When implementing a specific Operator, you can also implement `_process_output` method in the
  hook to perform additional processing of values returned by the DB Hook of yours. For example, you
  can join description retrieved from the cursors of your statements with returned values, or save
  the output of your operator to a file.
  
  :param sql: the SQL code or string pointing to a template file to be executed (templated).
      File must have a '.sql' extension.
  :param autocommit: (optional) if True, each command is automatically committed (default: False).
  :param parameters: (optional) the parameters to render the SQL query with.
  :param handler: (optional) the function that will be applied to the cursor (default: fetch_all_handler).
  :param split_statements: (optional) if split single SQL string into statements. By default, defers
      to the default value in the ``run`` method of the configured hook.
  :param conn_id: the connection ID used to connect to the database
  :param database: name of database which overwrite the defined one in connection
  :param return_last: (optional) return the result of only last statement (default: True).
  :param show_return_value_in_logs: (optional) if true operator output will be printed to the task log.
      Use with caution. It's not recommended to dump large datasets to the log. (default: False).
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:SQLExecuteQueryOperator`
class_docstr_tok: ["Executes","SQL","code","in","a","specific","database",".","When","implementing","a","specific","Operator",",","you","can","also","implement","`","_process_output","`","method","in","the","hook","to","perform","additional","processing","of","values","returned","by","the","DB","Hook","of","yours",".","For","example",",","you","can","join","description","retrieved","from","the","cursors","of","your","statements","with","returned","values",",","or","save","the","output","of","your","operator","to","a","file",".",":","param","sql",":","the","SQL","code","or","string","pointing","to","a","template","file","to","be","executed","(","templated",")",".","File","must","have","a","'.sql","'","extension",".",":","param","autocommit",":","(","optional",")","if","True",",","each","command","is","automatically","committed","(","default",":","False",")",".",":","param","parameters",":","(","optional",")","the","parameters","to","render","the","SQL","query","with",".",":","param","handler",":","(","optional",")","the","function","that","will","be","applied","to","the","cursor","(","default",":","fetch_all_handler",")",".",":","param","split_statements",":","(","optional",")","if","split","single","SQL","string","into","statements",".","By","default",",","defers","to","the","default","value","in","the","``","run","``","method","of","the","configured","hook",".",":","param","conn_id",":","the","connection","ID","used","to","connect","to","the","database",":","param","database",":","name","of","database","which","overwrite","the","defined","one","in","connection",":","param","return_last",":","(","optional",")","return","the","result","of","only","last","statement","(","default",":","True",")",".",":","param","show_return_value_in_logs",":","(","optional",")","if","true","operator","output","will","be","printed","to","the","task","log",".","Use","with","caution",".","It","'s","not","recommended","to","dump","large","datasets","to","the","log",".","(","default",":","False",")",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","SQLExecuteQueryOperator","`"]
docstr: Parse template file for attribute parameters.
docstr_tok: ["Parse","template","file","for","attribute","parameters","."]
code: def prepare_template(self) -> None:
      """Parse template file for attribute parameters."""
      if isinstance(self.parameters, str):
          self.parameters = ast.literal_eval(self.parameters)
  
imports: from __future__ import annotations
  import ast
  import re
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping, NoReturn, Sequence, SupportsAbs
  from airflow.exceptions import AirflowException, AirflowFailException
  from airflow.hooks.base import BaseHook
  from airflow.models import BaseOperator, SkipMixin
  from airflow.providers.common.sql.hooks.sql import DbApiHook, fetch_all_handler, return_single_query_results
  from airflow.utils.helpers import merge_dicts
label_desc: Use image node_id 5 for calling the SQLExecuteQueryOperator obj's underlying member method code with example usage: obj.prepare_template() without return types