pip_services3_data.ISetter module

pip_services3_data.ISetter

Interface for data setters.

copyright

Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.

license

MIT, see LICENSE for more details.

class pip_services3_data.ISetter.ISetter

Bases: object

Interface for data processing components that can set (create or update) data items.

set(correlation_id: Optional[str], item: T) → T

Sets a data item. If the data item exists it updates it, otherwise it create a new data item.

Parameters
  • correlation_id – (optional) transaction id to trace execution through call chain.

  • item – a item to be set.

Returns

updated item