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

Class OperationResult

couchbase/result.py:1326–1341  ·  view source on GitHub ↗

**DEPRECATED**

Source from the content-addressed store, hash-verified

1324
1325
1326class OperationResult:
1327 """ **DEPRECATED** """
1328
1329 def __init__(self, cas, mut_token):
1330 self._mutation_token = mut_token
1331 self._cas = cas
1332
1333 @property
1334 def cas(self) -> Optional[int]:
1335 return self._cas
1336
1337 def mutation_token(self) -> Optional[MutationToken]:
1338 return self._mutation_token
1339
1340 def __repr__(self):
1341 return f'OperationResult(mutation_token={self._mutation_token}, cas={self._cas})'
1342
1343
1344class ValueResult:

Callers 7

list_appendMethod · 0.90
list_prependMethod · 0.90
list_setMethod · 0.90
list_removeMethod · 0.90
map_addMethod · 0.90
map_removeMethod · 0.90
set_addMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected