class documentation

class FallbackStorage(BaseStorage): (source)

View In Hierarchy

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

Method __init__ Undocumented
Class Variable storage_classes Undocumented
Instance Variable storages 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.
Instance Variable _used_storages Undocumented

Inherited from BaseStorage:

Method __contains__ Undocumented
Method __iter__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented
Method add Queue a message to be stored.
Method update Store all unread messages.
Class Variable level Undocumented
Instance Variable added_new Undocumented
Instance Variable request Undocumented
Instance Variable used 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.
Instance Variable _level Undocumented
Instance Variable _queued_messages 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): (source)
storage_classes = (source)

Undocumented

storages = (source)

Undocumented

def _get(self, *args, **kwargs): (source)

Get a single list of messages from all storage backends.

def _store(self, messages, response, *args, **kwargs): (source)

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.

_used_storages = (source)

Undocumented