class documentation

class FallbackStorage(BaseStorage):

View In Hierarchy

Try to store all messages in the first backend. Store any unstored messages in each subsequent backend.
Method __init__ Undocumented
Method ​_get Get a single list of messages from all storage backends.
Method ​_store Store the messages and return any unstored messages after trying all backends.
Class Variable storage​_classes Undocumented
Instance Variable ​_used​_storages Undocumented
Instance Variable storages Undocumented

Inherited from BaseStorage:

Method __contains__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method ​_get​_level Return the minimum recorded level.
Method ​_prepare​_messages Prepare a list of messages for storage.
Method ​_set​_level Set a custom minimum recorded level.
Method add Queue a message to be stored.
Method update Store all unread messages.
Class Variable level Undocumented
Instance Variable ​_level Undocumented
Instance Variable ​_queued​_messages Undocumented
Instance Variable added​_new Undocumented
Instance Variable request Undocumented
Instance Variable used Undocumented
Property ​_loaded​_messages Return a list of loaded messages, retrieving them first if they have not been loaded yet.
def __init__(self, *args, **kwargs):
def _get(self, *args, **kwargs):
Get a single list of messages from all storage backends.
def _store(self, messages, response, *args, **kwargs):

Store the messages and return any unstored messages after trying all backends.

For each storage backend, any messages not stored are passed on to the next backend.

storage_classes =

Undocumented

_used_storages: set =

Undocumented

storages =

Undocumented