MCPcopy Create free account
hub / github.com/couchbase/couchbase-python-client / update

Method update

couchbase/logic/search.py:734–742  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

732 super().__setitem__(key, value)
733
734 def update(self, *args, **kwargs):
735 if args:
736 if len(args) > 1:
737 raise TypeError('only one merge at a time!')
738 other = dict(args[0])
739 for key in other:
740 self[key] = other[key]
741 for key in kwargs:
742 self[key] = kwargs[key]
743
744 def setdefault(self, key, value=None):
745 if key not in self:

Callers 15

__init__Method · 0.95
build_binding_kv_opMethod · 0.80
build_binding_mgmt_opMethod · 0.80
find_llvmMethod · 0.80
forward_argsMethod · 0.80
__init__Method · 0.80
queue_popMethod · 0.80
getMethod · 0.80
insertMethod · 0.80
replaceMethod · 0.80
removeMethod · 0.80

Calls

no outgoing calls

Tested by 2

get_environmentMethod · 0.64
get_environmentMethod · 0.64