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

Method __init__

acouchbase/search.py:32–42  ·  view source on GitHub ↗
(self,
                 connection,
                 loop,
                 encoded_query,
                 **kwargs
                 )

Source from the content-addressed store, hash-verified

30
31class AsyncFullTextSearchRequest(FullTextSearchRequestLogic):
32 def __init__(self,
33 connection,
34 loop,
35 encoded_query,
36 **kwargs
37 ):
38 num_workers = kwargs.pop('num_workers', None) or 1
39 super().__init__(connection, encoded_query, **kwargs)
40 self._loop = loop
41 self._tp_executor = ThreadPoolExecutor(num_workers)
42 self._executor_shutdown = False
43
44 @property
45 def loop(self):

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected