# sqlalchemy 2.1.9 (MIT), harvested by tools/harvest_corpus.py
=== input
Represent the "root" transaction on a :class:`_engine.Connection`.

    This corresponds to the current "BEGIN/COMMIT/ROLLBACK" that's occurring
    for the :class:`_engine.Connection`. The :class:`_engine.RootTransaction`
    is created by calling upon the :meth:`_engine.Connection.begin` method, and
    remains associated with the :class:`_engine.Connection` throughout its
    active span. The current :class:`_engine.RootTransaction` in use is
    accessible via the :attr:`_engine.Connection.get_transaction` method of
    :class:`_engine.Connection`.

    In :term:`2.0 style` use, the :class:`_engine.Connection` also employs
    "autobegin" behavior that will create a new
    :class:`_engine.RootTransaction` whenever a connection in a
    non-transactional state is used to emit commands on the DBAPI connection.
    The scope of the :class:`_engine.RootTransaction` in 2.0 style
    use can be controlled using the :meth:`_engine.Connection.commit` and
    :meth:`_engine.Connection.rollback` methods.


    
=== parse rest
short_description: 'Represent the "root" transaction on a :class:`_engine.Connection`.'
long_description: |
  This corresponds to the current "BEGIN/COMMIT/ROLLBACK" that's occurring
  for the :class:`_engine.Connection`. The :class:`_engine.RootTransaction`
  is created by calling upon the :meth:`_engine.Connection.begin` method, and
  remains associated with the :class:`_engine.Connection` throughout its
  active span. The current :class:`_engine.RootTransaction` in use is
  accessible via the :attr:`_engine.Connection.get_transaction` method of
  :class:`_engine.Connection`.
  
  In :term:`2.0 style` use, the :class:`_engine.Connection` also employs
  "autobegin" behavior that will create a new
  :class:`_engine.RootTransaction` whenever a connection in a
  non-transactional state is used to emit commands on the DBAPI connection.
  The scope of the :class:`_engine.RootTransaction` in 2.0 style
  use can be controlled using the :meth:`_engine.Connection.commit` and
  :meth:`_engine.Connection.rollback` methods.
blank_after_short_description: True
blank_after_long_description: False
style: rest
=== detect
rest
=== compose rest
Represent the "root" transaction on a :class:`_engine.Connection`.

This corresponds to the current "BEGIN/COMMIT/ROLLBACK" that's occurring
for the :class:`_engine.Connection`. The :class:`_engine.RootTransaction`
is created by calling upon the :meth:`_engine.Connection.begin` method, and
remains associated with the :class:`_engine.Connection` throughout its
active span. The current :class:`_engine.RootTransaction` in use is
accessible via the :attr:`_engine.Connection.get_transaction` method of
:class:`_engine.Connection`.

In :term:`2.0 style` use, the :class:`_engine.Connection` also employs
"autobegin" behavior that will create a new
:class:`_engine.RootTransaction` whenever a connection in a
non-transactional state is used to emit commands on the DBAPI connection.
The scope of the :class:`_engine.RootTransaction` in 2.0 style
use can be controlled using the :meth:`_engine.Connection.commit` and
:meth:`_engine.Connection.rollback` methods.
