summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-08 01:19:17 -0600
committerMichael Merickel <michael@merickel.org>2020-01-08 01:19:17 -0600
commitdf1c19ac429d680f094b6323ad9fc02623d5e953 (patch)
tree66c69418169faf2dec57db7256ffc3211b055340
parent8415bc1778ea080aeed69ef2d752f3d0063e26f9 (diff)
downloadpyramid-df1c19ac429d680f094b6323ad9fc02623d5e953.tar.gz
pyramid-df1c19ac429d680f094b6323ad9fc02623d5e953.tar.bz2
pyramid-df1c19ac429d680f094b6323ad9fc02623d5e953.zip
link to pr
-rw-r--r--CHANGES.rst2
-rw-r--r--docs/api/request.rst3
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index e93f8a813..d1807103f 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -81,6 +81,7 @@ Features
- Finished callbacks are now executed as part of the ``closer`` that is
invoked as part of ``pyramid.scripting.prepare`` and
``pyramid.paster.boostrap``.
+ See https://github.com/Pylons/pyramid/pull/3561
- Added ``pyramid.request.RequestLocalCache`` which can be used to create
simple objects that are shared across requests and can be used to store
@@ -91,6 +92,7 @@ Features
generated on-demand when accessing the request property. However, often
the case is that the data is generated when accessing some other system
and then we want to cache the data for the duration of the request.
+ See https://github.com/Pylons/pyramid/pull/3561
Deprecations
------------
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 9e9c70d3a..59d85ac2a 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -362,3 +362,6 @@
see :class:`pyramid.interfaces.IMultiDict`.
.. autofunction:: apply_request_extensions(request)
+
+.. autoclass:: RequestLocalCache
+ :members: