From 4e80d1f999b143da9cb4751e89f7e6e4c2c9b1b4 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 2 Jun 2009 13:42:17 +0000 Subject: Note non-APIness. --- repoze/bfg/request.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repoze/bfg/request.py b/repoze/bfg/request.py index 27e60c1d1..71f639626 100644 --- a/repoze/bfg/request.py +++ b/repoze/bfg/request.py @@ -7,7 +7,8 @@ from repoze.bfg.threadlocal import manager def current_request(): """Return the currently active request or ``None`` if no request - is currently active. + is currently active. This is *not* an official API, but it's + going to live here 'forever' and so can be relied on to exist. **This function should be used extremely sparingly** (read: almost never), because its usage makes it possible to write code that can -- cgit v1.2.3