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

Method finish

cassandra/connection.py:1789–1797  ·  view source on GitHub ↗
(self, time_now)

Source from the content-addressed store, hash-verified

1787 self.canceled = True
1788
1789 def finish(self, time_now):
1790 if self.canceled:
1791 return True
1792
1793 if time_now >= self.end:
1794 self.callback()
1795 return True
1796
1797 return False
1798
1799
1800class TimerManager(object):

Callers 1

service_timeoutsMethod · 0.45

Calls 1

callbackMethod · 0.80

Tested by

no test coverage detected