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

Method discard

cassandra/util.py:321–324  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

319 self.data.remove(ref(item))
320
321 def discard(self, item):
322 if self._pending_removals:
323 self._commit_removals()
324 self.data.discard(ref(item))
325
326 def update(self, other):
327 if self._pending_removals:

Callers 6

future_completedMethod · 0.80
runMethod · 0.80
_removeMethod · 0.80
connection_destroyedMethod · 0.80

Calls 1

_commit_removalsMethod · 0.95

Tested by

no test coverage detected