MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / __del__

Method __del__

python/openshell/sandbox.py:1018–1022  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1016 self._http.close()
1017
1018 def __del__(self) -> None:
1019 # Best-effort cleanup; tests + short-lived callers may not call
1020 # close() explicitly.
1021 with contextlib.suppress(Exception):
1022 self._http.close()
1023
1024 def current_access_token(self) -> str:
1025 """Return a non-expired access token, refreshing if needed."""

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected