(self, timeout: float = 10)
| 55 | return response.json() |
| 56 | |
| 57 | async def commit_async(self, timeout: float = 10) -> dict: |
| 58 | async with httpx.AsyncClient() as client: |
| 59 | response = await client.post(f"{self.proxy_url}/commit", timeout=timeout) |
| 60 | return response.json() |
| 61 | |
| 62 | def get_metrics(self, timeout: float = 5) -> dict: |
| 63 | response = requests.get(f"{self.proxy_url}/metrics", timeout=timeout) |
no outgoing calls