MCPcopy Create free account
hub / github.com/Surfer-Org/Protocol / __del__

Method __del__

sdk/python/surfer_protocol/client.py:64–66  ·  view source on GitHub ↗

Cleanup the session when the client is destroyed.

(self)

Source from the content-addressed store, hash-verified

62 raise ConnectionError(f"Failed to trigger export: {str(e)}") from e
63
64 def __del__(self):
65 """Cleanup the session when the client is destroyed."""
66 self.session.close()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected