dripline.implementations.key_value_store module

class dripline.implementations.key_value_store.KeyValueStore(initial_value=None, **kwargs)[source]

Bases: dripline.core.entity.Entity

Parameters

initial_value (any) – the starting value for the endpoint

on_get(*args, **kwargs)

placeholder method for getting the value of an endpoint. Implementations may override to enable OP_GET operations. The implementation must return a value which is able to be passed to the ParamValue constructor.

on_set(new_value)[source]

placeholder method for setting the value of an endpoint. Implementations may override to enable OP_SET operations. Any returned object must already be a scarab::Param object

throw_something()[source]