class documentation
class FallbackStorage(BaseStorage): (source)
Try to store all messages in the first backend. Store any unstored messages in each subsequent backend.
Method | __init__ |
Undocumented |
Class Variable | storage |
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 |
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 |
Undocumented |
Instance Variable | request |
Undocumented |
Instance Variable | used |
Undocumented |
Method | _get |
Return the minimum recorded level. |
Method | _prepare |
Prepare a list of messages for storage. |
Method | _set |
Set a custom minimum recorded level. |
Instance Variable | _level |
Undocumented |
Instance Variable | _queued |
Undocumented |
Property | _loaded |
Return a list of loaded messages, retrieving them first if they have not been loaded yet. |