diff options
author | Eli Collins <elic@assurancetechnologies.com> | 2015-07-22 10:12:09 -0400 |
---|---|---|
committer | Eli Collins <elic@assurancetechnologies.com> | 2015-07-22 10:12:09 -0400 |
commit | 82f9c816bd2e9f0bf9d7b2dc5efcd839635bd7aa (patch) | |
tree | 9ab685b44639b3f98279f5090ea3c91bd6ee72b1 /passlib/context.py | |
parent | 070de8e888ddedd76fbf866ae684430f08131d6d (diff) | |
download | passlib-82f9c816bd2e9f0bf9d7b2dc5efcd839635bd7aa.tar.gz |
doc updates
Diffstat (limited to 'passlib/context.py')
-rw-r--r-- | passlib/context.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/passlib/context.py b/passlib/context.py index 9b13a47..fd228ff 100644 --- a/passlib/context.py +++ b/passlib/context.py @@ -2629,7 +2629,7 @@ class LazyCryptContext(CryptContext): """CryptContext subclass which doesn't load handlers until needed. This is a subclass of CryptContext which takes in a set of arguments - exactly like CryptContext, but won't load any handlers + exactly like CryptContext, but won't import any handlers (or even parse its arguments) until the first time one of its methods is accessed. @@ -2668,6 +2668,12 @@ class LazyCryptContext(CryptContext): but using :func:`!onload()` to provide dynamic configuration at *application-run* time. + .. note:: + This class is only useful if you're referencing handler objects by name, + and don't want them imported until runtime. If you want to have the config + validated before your application runs, or are passing in already-imported + handler instances, you should use :class:`CryptContext` instead. + .. versionadded:: 1.4 """ _lazy_kwds = None |