2
Two examples illustrating modifications to SQLAlchemy's attribute management system.
4
``listen_for_events.py`` illustrates the usage of :class:`~sqlalchemy.orm.interfaces.AttributeExtension` to intercept attribute events. It additionally illustrates a way to automatically attach these listeners to all class attributes using a :class:`~sqlalchemy.orm.interfaces.InstrumentationManager`.
6
``custom_management.py`` illustrates much deeper usage of :class:`~sqlalchemy.orm.interfaces.InstrumentationManager` as well as collection adaptation, to completely change the underlying method used to store state on an object. This example was developed to illustrate techniques which would be used by other third party object instrumentation systems to interact with SQLAlchemy's event system and is only intended for very intricate framework integrations.
2
Two examples illustrating modifications to SQLAlchemy's attribute management
5
``listen_for_events.py`` illustrates the usage of
6
:class:`~sqlalchemy.orm.interfaces.AttributeExtension` to intercept attribute
7
events. It additionally illustrates a way to automatically attach these
8
listeners to all class attributes using a
9
:class:`.InstrumentationManager`.
11
``custom_management.py`` illustrates much deeper usage of
12
:class:`.InstrumentationManager` as well as
13
collection adaptation, to completely change the underlying method used to
14
store state on an object. This example was developed to illustrate
15
techniques which would be used by other third party object instrumentation
16
systems to interact with SQLAlchemy's event system and is only intended for
17
very intricate framework integrations.
b'\\ No newline at end of file'