#################### Private functions #################### .. _moobius.database.storage.get_engine._hit: get_engine._hit --------------------------------------------------------------------------------------------------------------------- .. raw:: html

Signature:

* **get_engine._hit**(matches) .. raw:: html

Parameters:

* __matches:__ List of matches. .. raw:: html

Returns:

* The if the engine is one of those matches. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.CachedDict.__getitem__: CachedDict.__getitem__ --------------------------------------------------------------------------------------------------------------------- Overrides dict-like usages of the form: "v = d['my_key']" to query from the database... .. raw:: html

Signature:

* **CachedDict.__getitem__**(self, key) .. raw:: html

Parameters:

* __key:__ Key and. .. raw:: html

Returns:

* The value. .. raw:: html

Raises:

* A KeyError if strict_mode is True and the key is not found. .. _moobius.database.storage.CachedDict.__setitem__: CachedDict.__setitem__ --------------------------------------------------------------------------------------------------------------------- Overrides dict-like usages of the form: "d['my_key'] = v" to save to the database. For a JSONDatabase, this will save the updated json to a file.. .. raw:: html

Signature:

* **CachedDict.__setitem__**(self, key, value) .. raw:: html

Parameters:

* __key:__ Key. * __value:__ Value. .. raw:: html

Returns:

* None. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.CachedDict.__delitem__: CachedDict.__delitem__ --------------------------------------------------------------------------------------------------------------------- Overrides dict-like usages of the form: "del d['my_key']" to delete a key from the database. For a JSONDatabase, this will save the updated json to a file.. .. raw:: html

Signature:

* **CachedDict.__delitem__**(self, key) .. raw:: html

Parameters:

* __key:__ Key. .. raw:: html

Returns:

* None. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.CachedDict.__str__: CachedDict.__str__ --------------------------------------------------------------------------------------------------------------------- The string output function for debugging. .. raw:: html

Signature:

* **CachedDict.__str__**(self) .. raw:: html

Parameters:

* __(this class constructor accepts no arguments):__ .. raw:: html

Returns:

* The easy-to-read string summary. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.CachedDict.__repr__: CachedDict.__repr__ --------------------------------------------------------------------------------------------------------------------- The string output function for debugging. .. raw:: html

Signature:

* **CachedDict.__repr__**(self) .. raw:: html

Parameters:

* __(this class constructor accepts no arguments):__ .. raw:: html

Returns:

* The easy-to-read string summary. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.MoobiusStorage.__str__: MoobiusStorage.__str__ --------------------------------------------------------------------------------------------------------------------- The string output function for debugging. .. raw:: html

Signature:

* **MoobiusStorage.__str__**(self) .. raw:: html

Parameters:

* __(this class constructor accepts no arguments):__ .. raw:: html

Returns:

* The easy-to-read string summary. .. raw:: html

Raises:

* (this function does not raise any notable errors) .. _moobius.database.storage.MoobiusStorage.__repr__: MoobiusStorage.__repr__ --------------------------------------------------------------------------------------------------------------------- The string output function for debugging. .. raw:: html

Signature:

* **MoobiusStorage.__repr__**(self) .. raw:: html

Parameters:

* __(this class constructor accepts no arguments):__ .. raw:: html

Returns:

* The easy-to-read string summary. .. raw:: html

Raises:

* (this function does not raise any notable errors) #################### Private attributes #################### get_engine._hit get_engine._hit get_engine._hit