beemstorage.ram¶
-
class
beemstorage.ram.
InRamStore
(*args, **kwargs)¶ Bases:
beemstorage.interfaces.StoreInterface
The InRamStore inherits
beemstorage.interfaces.StoreInterface
and 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
None
value. This represents the biggest difference to a regulardict
class.-
delete
(key)¶ Delete a key from the store
-
wipe
()¶ Wipe the store
-