MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / Spec

Class Spec

couchbase/subdocument.py:239–250  ·  view source on GitHub ↗

Represents a sub-operation to perform.

Source from the content-addressed store, hash-verified

237
238
239class Spec(tuple):
240 """Represents a sub-operation to perform."""
241
242 def __new__(cls, *args, **kwargs):
243 return super().__new__(cls, tuple(args))
244
245 def __repr__(self):
246 details = []
247 # details.append(_SPECMAP.get(self[0]))
248 details.extend([repr(x) for x in self[1:]])
249 return '{0}<{1}>'.format(self.__class__.__name__,
250 ', '.join(details))
251
252
253class ArrayValues(tuple):

Callers 15

existsFunction · 0.85
getFunction · 0.85
countFunction · 0.85
insertFunction · 0.85
upsertFunction · 0.85
replaceFunction · 0.85
removeFunction · 0.85
array_appendFunction · 0.85
array_prependFunction · 0.85
array_insertFunction · 0.85
array_adduniqueFunction · 0.85
incrementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected