Skip to content

Commit

Permalink
remove last_batch_index
Browse files Browse the repository at this point in the history
  • Loading branch information
azliu0 committed Oct 28, 2024
1 parent cb52f89 commit 78b032c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion modal/file_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ async def _consume_output(self, exec_id: str) -> AsyncIterator[Optional[bytes]]:
req = api_pb2.ContainerFilesystemExecGetOutputRequest(
exec_id=exec_id,
timeout=55,
last_batch_index=0,
)
async for batch in self._client.stub.ContainerFilesystemExecGetOutput.unary_stream(req):
if batch.eof:
Expand Down
6 changes: 0 additions & 6 deletions modal_proto/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,6 @@ message ContainerFileWriteResponse {
message ContainerFilesystemExecGetOutputRequest {
string exec_id = 1;
float timeout = 2;
uint64 last_batch_index = 3;
}

message ContainerFilesystemExecRequest {
Expand All @@ -834,11 +833,6 @@ message ContainerFilesystemExecResponse {
optional string file_descriptor = 2;
}

message ContainerFilesystemGetOutputRequest {
float timeout = 1;
uint64 last_batch_index = 2;
}

message ContainerHeartbeatRequest {
string current_input_id = 1;
double current_input_started_at = 2;
Expand Down

0 comments on commit 78b032c

Please sign in to comment.