medkit.core.store#

Classes:

GlobalStore()

Global store

Store(*args, **kwargs)

Store protocol

class Store(*args, **kwargs)[source]#

Store protocol

class GlobalStore[source]#

Global store

Methods:

del_store()

Delete the global store object

get_store()

Returns the global store object

init_store(store)

Initialize the global store for your application

classmethod init_store(store)[source]#

Initialize the global store for your application

Parameters

store (Store) – Store for all the data items

Raises

RuntimeError – If global store is already set

classmethod get_store()[source]#

Returns the global store object

Return type

Store

Returns

Store – the global store

classmethod del_store()[source]#

Delete the global store object