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

Method fset

couchbase/logic/search.py:91–96  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

89 return None
90
91 def fset(self, value):
92 value = converter(value)
93 d = self._json_
94 for x in apipaths[:-1]:
95 d = d.setdefault(x, {})
96 d[apipaths[-1]] = value
97
98 def fdel(self):
99 d = self._json_

Callers

nothing calls this directly

Calls 1

setdefaultMethod · 0.80

Tested by

no test coverage detected