pip_services3_data.IPartialUpdater module

pip_services3_data.IPartialUpdater

Interface for partial data updaters.

copyright

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

license

MIT, see LICENSE for more details.

class pip_services3_data.IPartialUpdater.IPartialUpdater

Bases: abc.ABC

Interface for data processing components to update data items partially.

update_partially(correlation_id: Optional[str], id: Any, data: pip_services3_commons.data.AnyValueMap.AnyValueMap) → T

Updates only few selected fields in a data item.

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

  • id – an id of data item to be updated.

  • data – a map with fields to be updated.

Returns

updated item