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

Method timeout

couchbase/logic/n1ql.py:411–416  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

409
410 @property
411 def timeout(self) -> Optional[float]:
412 value = self._params.get('timeout', None)
413 if not value:
414 return None
415 value = value[:-1]
416 return float(value)
417
418 @timeout.setter
419 def timeout(self, value # type: Union[timedelta,float,int]

Calls 4

set_optionMethod · 0.95
to_millisecondsFunction · 0.90
getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected