summaryrefslogtreecommitdiff
path: root/examples/custom_attributes
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-11-09 19:42:01 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2013-11-09 19:42:01 -0500
commit546015e6e147130c4f21c87ec9e1537d9f71c3fb (patch)
treec7b6cd29f5ee774f8fdd9acbdafcfa12601473d2 /examples/custom_attributes
parentb03961b8243fa731fdcdbaffa7acd3c718fba0d9 (diff)
downloadsqlalchemy-546015e6e147130c4f21c87ec9e1537d9f71c3fb.tar.gz
- add a new sphinx extension "viewsource". takes advantage of part of the viewcode extension
to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation.
Diffstat (limited to 'examples/custom_attributes')
-rw-r--r--examples/custom_attributes/__init__.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/examples/custom_attributes/__init__.py b/examples/custom_attributes/__init__.py
index b28e97d95..2072c051f 100644
--- a/examples/custom_attributes/__init__.py
+++ b/examples/custom_attributes/__init__.py
@@ -2,18 +2,6 @@
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:`.InstrumentationManager`.
-
-``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.
+.. autosource::
""" \ No newline at end of file