(self, *args, **kwargs)
| 51 | self._cursor = itertools.cycle(range(len(self.clients))) |
| 52 | |
| 53 | def predict(self, *args, **kwargs) -> Dict: |
| 54 | with self._lock: |
| 55 | client_index = next(self._cursor) |
| 56 | return self.clients[client_index].predict(*args, **kwargs) |
| 57 | |
| 58 | def health(self) -> Dict[str, bool]: |
| 59 | status: Dict[str, bool] = {} |
nothing calls this directly
no outgoing calls
no test coverage detected