nectarstorage.ram module
- class nectarstorage.ram.InRamStore(*_args, **_kwargs)
Bases:
StoreInterfaceThe InRamStore inherits
nectarstorage.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