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

Method __init__

acouchbase/analytics.py:32–43  ·  view source on GitHub ↗
(self,
                 connection,
                 loop,
                 query_params,
                 row_factory=lambda x: x,
                 **kwargs
                 )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected