pyramid_cubicweb.tools
¶
Various tools.
Warning
This module should be considered as internal implementation details. Use with caution, as the API may change without notice.
-
pyramid_cubicweb.tools.
includeme
(config)[source]¶ Start the cache maintenance loop task.
Automatically included by
pyramid_cubicweb.make_cubicweb_application()
.
-
pyramid_cubicweb.tools.
clone_user
(repo, user)[source]¶ Clone a CWUser instance.
Warning
The returned clone is detached from any cnx. Before using it in any way, it should be attached to a cnx that has not this user already loaded.