Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 969 Bytes

events.rst

File metadata and controls

46 lines (30 loc) · 969 Bytes

ORM Events

The ORM includes a wide variety of hooks available for subscription.

.. versionadded:: 0.7
    The event supersedes the previous system of "extension" classes.

For an introduction to the event API, see :ref:`event_toplevel`. Non-ORM events such as those regarding connections and low-level statement execution are described in :ref:`core_event_toplevel`.

Attribute Events

.. autoclass:: sqlalchemy.orm.events.AttributeEvents
   :members:

Mapper Events

.. autoclass:: sqlalchemy.orm.events.MapperEvents
   :members:

Instance Events

.. autoclass:: sqlalchemy.orm.events.InstanceEvents
   :members:

Session Events

.. autoclass:: sqlalchemy.orm.events.SessionEvents
   :members:

Instrumentation Events

.. automodule:: sqlalchemy.orm.instrumentation

.. autoclass:: sqlalchemy.orm.events.InstrumentationEvents
   :members: