beemstorage.ram¶
-
class
beemstorage.ram.InRamStore(*args, **kwargs)¶ Bases:
beemstorage.interfaces.StoreInterfaceThe InRamStore inherits
beemstorage.interfaces.StoreInterfaceand extends it by two further calls for wipe and delete.The store is syntactically equivalent to a regular dictionary.
Warning
If you are trying to obtain a value for a key that does not exist in the store, the library will NOT raise but return a
Nonevalue. This represents the biggest difference to a regulardictclass.-
delete(key)¶ Delete a key from the store
-
wipe()¶ Wipe the store
-