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

Method __init__

python/openshell/sandbox.py:598–600  ·  view source on GitHub ↗
(self, channel: grpc.Channel, *, timeout: float = 30.0)

Source from the content-addressed store, hash-verified

596 """gRPC client for cluster-level inference configuration."""
597
598 def __init__(self, channel: grpc.Channel, *, timeout: float = 30.0) -> None:
599 self._stub = inference_pb2_grpc.InferenceStub(channel)
600 self._timeout = timeout
601
602 @classmethod
603 def from_sandbox_client(cls, client: SandboxClient) -> InferenceRouteClient:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected