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

Method _shutdown_executor

acouchbase/views.py:104–112  ·  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

102 return deserialized_row
103
104 def _shutdown_executor(self):
105 """
106 **INTERNAL**
107
108 Release the per-request streaming executor. Safe to call multiple times.
109 """
110 if not self._executor_shutdown:
111 self._executor_shutdown = True
112 self._tp_executor.shutdown(wait=False)
113
114 def _finalize(self, exc_val=None):
115 """

Callers 1

_finalizeMethod · 0.95

Calls 1

shutdownMethod · 0.45

Tested by

no test coverage detected