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

Method _shutdown_executor

acouchbase/n1ql.py:100–108  ·  view source on GitHub ↗

**INTERNAL** Release the per-request streaming executor. Safe to call multiple times.

(self)

Source from the content-addressed store, hash-verified

98 return self.serializer.deserialize(row)
99
100 def _shutdown_executor(self):
101 """
102 **INTERNAL**
103
104 Release the per-request streaming executor. Safe to call multiple times.
105 """
106 if not self._executor_shutdown:
107 self._executor_shutdown = True
108 self._tp_executor.shutdown(wait=False)
109
110 def _finalize(self, exc_val=None):
111 """

Callers 1

_finalizeMethod · 0.95

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected