From f8caf05593a00a61d5ef6467c334c1e594fbae86 Mon Sep 17 00:00:00 2001 From: Diana Clarke Date: Fri, 7 Dec 2012 22:42:34 -0500 Subject: [PATCH] fixing InstrumentationManager links --- doc/build/orm/examples.rst | 11 ++++++++--- examples/custom_attributes/__init__.py | 17 ++++++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/doc/build/orm/examples.rst b/doc/build/orm/examples.rst index 03d69cf4cb..e0c87dadf7 100644 --- a/doc/build/orm/examples.rst +++ b/doc/build/orm/examples.rst @@ -3,9 +3,14 @@ Examples ======== -The SQLAlchemy distribution includes a variety of code examples illustrating a select set of patterns, some typical and some not so typical. All are runnable and can be found in the ``/examples`` directory of the distribution. Each example contains a README in its ``__init__.py`` file, each of which are listed below. - -Additional SQLAlchemy examples, some user contributed, are available on the wiki at ``_. +The SQLAlchemy distribution includes a variety of code examples illustrating +a select set of patterns, some typical and some not so typical. All are +runnable and can be found in the ``/examples`` directory of the +distribution. Each example contains a README in its ``__init__.py`` file, +each of which are listed below. + +Additional SQLAlchemy examples, some user contributed, are available on the +wiki at ``_. .. _examples_adjacencylist: diff --git a/examples/custom_attributes/__init__.py b/examples/custom_attributes/__init__.py index 6f7613e5cf..b28e97d957 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 -- 2.47.2