def GetState(self) -> vfs_pb2.ApiGetVfsRefreshOperationStateResult.State: args = vfs_pb2.ApiGetVfsRefreshOperationStateArgs( client_id=self.client_id, operation_id=self.operation_id) response = self._context.SendRequest("GetVfsRefreshOperationState", args) if not isinstance(response, vfs_pb2.ApiGetVfsRefreshOperationStateResult): raise TypeError(f"Unexpected response type: {type(response)}") return response.state
def GetState(self): args = vfs_pb2.ApiGetVfsRefreshOperationStateArgs( client_id=self.client_id, operation_id=self.operation_id) return self._context.SendRequest("GetVfsRefreshOperationState", args).state