MCPcopy Create free account
hub / github.com/BIT-DataLab/Edit-Banana / __init__

Method __init__

sam3_service/client.py:9–11  ·  view source on GitHub ↗
(self, base_url: str, timeout: int = 120)

Source from the content-addressed store, hash-verified

7
8class Sam3ServiceClient:
9 def __init__(self, base_url: str, timeout: int = 120) -> None:
10 self.base_url = base_url.rstrip("/")
11 self.timeout = timeout
12
13 def health(self) -> bool:
14 resp = requests.get(f"{self.base_url}/health", timeout=5)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected