Skip to content

Commit 44b91df

Browse files
committed
.
1 parent 8b5d58e commit 44b91df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

code-interpreter/app/services/executor_kubernetes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
EntryKind,
3333
ExecutionResult,
3434
HealthCheck,
35+
StreamChunk,
3536
StreamEvent,
3637
StreamResult,
37-
StreamChunk,
3838
WorkspaceEntry,
3939
wrap_last_line_interactive,
4040
)
@@ -64,7 +64,7 @@ class _KubeExecContext:
6464
"""Holds the live pod and exec stream for the duration of an execution."""
6565

6666
pod_name: str
67-
exec_resp: Any # kubernetes WSClient
67+
exec_resp: ws_client.WSClient
6868
start: float
6969

7070

@@ -621,7 +621,7 @@ def _validate_relative_path(self, path_str: str) -> Path:
621621

622622

623623
def _stream_kube_output(
624-
exec_resp: Any,
624+
exec_resp: ws_client.WSClient,
625625
deadline: float,
626626
max_output_bytes: int,
627627
) -> Generator[StreamChunk, None, tuple[int | None, bool]]:

0 commit comments

Comments
 (0)