MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / _submit

Method _submit

cassandra/cluster.py:3758–3764  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

3756 return old
3757
3758 def _submit(self, *args, **kwargs):
3759 try:
3760 if not self._cluster.is_shutdown:
3761 return self._cluster.executor.submit(*args, **kwargs)
3762 except ReferenceError:
3763 pass
3764 return None
3765
3766 def shutdown(self):
3767 # stop trying to reconnect (if we are)

Callers 1

reconnectMethod · 0.95

Calls 1

submitMethod · 0.45

Tested by

no test coverage detected