diff options
| author | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-12-07 22:42:34 -0500 |
|---|---|---|
| committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2012-12-07 22:42:34 -0500 |
| commit | f8caf05593a00a61d5ef6467c334c1e594fbae86 (patch) | |
| tree | 429c8b9de2a1c9bdb5f762a9cc4e5e773c878a0e /examples | |
| parent | 2b991ac9b55726b7c9e2bd696b7f2dcabcf27488 (diff) | |
| download | sqlalchemy-f8caf05593a00a61d5ef6467c334c1e594fbae86.tar.gz | |
fixing InstrumentationManager links
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/custom_attributes/__init__.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/examples/custom_attributes/__init__.py b/examples/custom_attributes/__init__.py index 6f7613e5c..b28e97d95 100644 --- a/examples/custom_attributes/__init__.py +++ b/examples/custom_attributes/__init__.py @@ -1,8 +1,19 @@ """ -Two examples illustrating modifications to SQLAlchemy's attribute management system. +Two examples illustrating modifications to SQLAlchemy's attribute management +system. -``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`. +``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:`.InstrumentationManager`. -``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. +``custom_management.py`` illustrates much deeper usage of +:class:`.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. """
\ No newline at end of file |
