l.s.w.i.IInteractionExtras(Interface) : interface documentation

Part of lp.services.webapp.interfaces View In Hierarchy

We attach a provider of this interface to all interactions.

Because a fresh provider is constructed for every request and between every test, it is less error-prone to add things to this interface than to stash state on a thread local.

If you add something here, you should go and edit lp.services.webapp.interaction.InteractionExtras,

Attribute permit_timeout_from_features A boolean indicating whether to read the 'hard_timeout' feature
permit_timeout_from_features =
A boolean indicating whether to read the 'hard_timeout' feature flag. We can't check the feature flags early on in request processing because this can trigger nested db lookups. See the docstring of lp.services.webapp.servers.set_permit_timeout_from_features for more.
API Documentation for Launchpad, generated by pydoctor at 2019-09-23 00:00:04.