summaryrefslogtreecommitdiff
path: root/docs/narr/introspector.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-02-15 19:09:08 -0500
committerChris McDonough <chrism@plope.com>2012-02-15 19:09:08 -0500
commit748aad47f90136b151be13f477ed6af1caed0493 (patch)
treea111a7e9f58d022b4f9c047648ee8dfabed00dcb /docs/narr/introspector.rst
parentc0b7076cb5ad4dcf5840c95f527955e3483d7cae (diff)
downloadpyramid-748aad47f90136b151be13f477ed6af1caed0493.tar.gz
pyramid-748aad47f90136b151be13f477ed6af1caed0493.tar.bz2
pyramid-748aad47f90136b151be13f477ed6af1caed0493.zip
- Add ``pyramid.config.Configurator.set_traverser`` API method. See the
Hooks narrative documentation section entitled "Changing the Traverser" for more information. This is not a new feature, it just provides an API for adding a traverser without needing to use the ZCA API.
Diffstat (limited to 'docs/narr/introspector.rst')
-rw-r--r--docs/narr/introspector.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/narr/introspector.rst b/docs/narr/introspector.rst
index 11d779854..08cc430f6 100644
--- a/docs/narr/introspector.rst
+++ b/docs/narr/introspector.rst
@@ -529,6 +529,21 @@ introspectables in categories not described here.
A normalized version of the ``spec`` argument provided to
``add_static_view``.
+``traversers``
+
+ Each introspectable in the ``traversers`` category represents a call to
+ :meth:`pyramid.config.Configurator.add_traverser`; each will have the
+ following data.
+
+ ``iface``
+
+ The (resolved) interface or class object that represents the return value
+ of a root factory that this traverser will be used for.
+
+ ``factory``
+
+ The (resolved) traverser class.
+
Introspection in the Toolbar
----------------------------