Skip to main content

FallbackStorage

Try to store all messages in the first backend. Store any unstored messages in each subsequent backend.

Attributes

AttributeTypeDescription
storage_classestuple = (CookieStorage, SessionStorage)A tuple of message storage backend classes to be instantiated and used sequentially for message persistence.

Constructor

Signature

def FallbackStorage(
*args: any,
**kwargs: any
) - > null

Parameters

NameTypeDescription
*argsanyVariable length argument list passed to the base class and individual storage backends.
**kwargsanyArbitrary keyword arguments passed to the base class and individual storage backends.