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

Method timeout

couchbase/logic/search.py:1033–1038  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1031
1032 @property
1033 def timeout(self) -> Optional[float]:
1034 value = self._params.get('timeout', None)
1035 if not value:
1036 return None
1037 value = value[:-1]
1038 return float(value)
1039
1040 @timeout.setter
1041 def timeout(self, value # type: Union[timedelta,float,int]

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected