MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / wrapper

Function wrapper

cassandra/connection.py:608–612  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

606
607 @wraps(f)
608 def wrapper(self, *args, **kwargs):
609 try:
610 return f(self, *args, **kwargs)
611 except Exception as exc:
612 self.defunct(exc)
613 return wrapper
614
615

Callers

nothing calls this directly

Calls 1

defunctMethod · 0.80

Tested by

no test coverage detected