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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected