def communicate_status(self, check_stop_req, timeout=None): status = wandb_internal_pb2.StatusRequest() status.check_stop_req = check_stop_req req = self._make_request(status=status) resp = self._communicate(req, timeout=timeout, local=True) assert resp.response.status_response return resp.response.status_response
def communicate_status(self, check_stop_req, timeout=None): status = pb.StatusRequest() status.check_stop_req = check_stop_req req = self._make_request(status=status) resp = self._communicate(req, timeout=timeout, local=True) if resp is None: return None assert resp.response.status_response return resp.response.status_response
def communicate_status(self) -> Optional[pb.StatusResponse]: status = pb.StatusRequest() resp = self._communicate_status(status) return resp