Tshepang Lekhonkhobe
2013-01-02 043ccddb909327106264d10ed5d413760a51770d
commit | author | age
a71aa2 1 .. _registry_module:
CM 2
3 :mod:`pyramid.registry`
4 ---------------------------
5
6 .. module:: pyramid.registry
7
8 .. autoclass:: Registry
9
10    .. attribute:: settings
11
a5ef0f 12      The dictionary-like :term:`deployment settings` object.  See
CM 13      :ref:`deployment_settings` for information.  This object is often
14      accessed as ``request.registry.settings`` or
15      ``config.registry.settings`` in a typical Pyramid application.
a71aa2 16
e00622 17    .. attribute:: introspector
57a0d7 18
CM 19      When a registry is set up (or created) by a :term:`Configurator`, the
20      registry will be decorated with an instance named ``introspector``
21      implementing the :class:`pyramid.interfaces.IIntrospector` interface.
e00622 22      See also :attr:`pyramid.config.Configurator.introspector`.
57a0d7 23
CM 24      When a registry is created "by hand", however, this attribute will not
25      exist until set up by a configurator.
26
27      This attribute is often accessed as ``request.registry.introspector`` in
28      a typical Pyramid application.
29
30      This attribute is new as of :app:`Pyramid` 1.3.
31
32 .. class:: Introspectable
33
34    The default implementation of the interface
35    :class:`pyramid.interfaces.IIntrospectable` used by framework exenders.
043ccd 36    An instance of this class is created when
57a0d7 37    :attr:`pyramid.config.Configurator.introspectable` is called.
CM 38
39    This class is new as of :app:`Pyramid` 1.3.
40
d98612 41 .. autoclass:: Deferred
CM 42
43    This class is new as of :app:`Pyramid` 1.4.
44
45 .. autofunction:: undefer
46
47    This function is new as of :app:`Pyramid` 1.4.
48
49 .. autoclass:: predvalseq
50
51    This class is new as of :app:`Pyramid` 1.4.
52
53
54