l.s.w.launchbag : module documentation

Part of lp.services.webapp

LaunchBag

The collection of stuff we have traversed.

Class LaunchBag No class docstring; 2/20 methods documented
Function set_login_in_launchbag_when_principal_identified This IPrincipalIdentifiedEvent subscriber sets 'login' in launchbag.
Function set_developer_in_launchbag_before_traversal Subscriber for IBeforeTraverseEvent
Function reset_login_in_launchbag_on_logout Subscriber for ILoggedOutEvent that sets 'login' in launchbag to None.
Function reset_developer_in_launchbag_on_logout Subscriber for ILoggedOutEvent that resets the developer flag.
def set_login_in_launchbag_when_principal_identified(event):
This IPrincipalIdentifiedEvent subscriber sets 'login' in launchbag.
def set_developer_in_launchbag_before_traversal(event):
Subscriber for IBeforeTraverseEvent

Sets the 'user is a launchpad developer flag' early, as we need it available if an exception occurs; If we leave it until needed, we may no longer have the functionality we need to look this up.

def reset_login_in_launchbag_on_logout(event):
Subscriber for ILoggedOutEvent that sets 'login' in launchbag to None.
def reset_developer_in_launchbag_on_logout(event):
Subscriber for ILoggedOutEvent that resets the developer flag.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.