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