class_docstr: Interact with Exasol.
  
  You can specify the pyexasol ``compression``, ``encryption``, ``json_lib``
  and ``client_name``  parameters in the extra field of your connection
  as ``{"compression": True, "json_lib": "rapidjson", etc}``.
  
  See `pyexasol reference
  <https://github.com/badoo/pyexasol/blob/master/docs/REFERENCE.md#connect>`_
  for more details.
docstr: Set the autocommit flag on the connection.
  
  :param conn: Connection to set autocommit setting to.
  :param autocommit: The autocommit setting to set.
docstr_tok: ["Set","the","autocommit","flag","on","the","connection",".",":","param","conn",":","Connection","to","set","autocommit","setting","to",".",":","param","autocommit",":","The","autocommit","setting","to","set","."]
code: def set_autocommit(self, conn, autocommit: bool) -> None:
      """Set the autocommit flag on the connection.
  
      :param conn: Connection to set autocommit setting to.
      :param autocommit: The autocommit setting to set.
      """
      if not self.supports_autocommit and autocommit:
          self.log.warning(
              "%s connection doesn't support autocommit but autocommit activated.",
              getattr(self, self.conn_name_attr),
          )
      conn.set_autocommit(autocommit)
  
imports: from __future__ import annotations
  from contextlib import closing
  from typing import TYPE_CHECKING, Any, Callable, Iterable, Mapping, Sequence, TypeVar, overload
  import pyexasol
  from pyexasol import ExaConnection, ExaStatement
  from airflow.providers.common.sql.hooks.sql import DbApiHook, return_single_query_results
label_desc: Use image node_id 11 for calling the ExasolHook obj's underlying member method code with example usage: obj.set_autocommit(conn, autocommit) without return types