Skip to content

Commit cdb3e86

Browse files
committed
[docker-py] Add exec_start overload
1 parent ef2b90c commit cdb3e86

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

stubs/docker/docker/api/exec_api.pyi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,21 @@ class ExecApiMixin:
115115
socket: Literal[False] = False,
116116
demux: Literal[False] = False,
117117
) -> str: ...
118+
@overload
119+
def exec_start(
120+
self,
121+
exec_id: str,
122+
detach: bool = False,
123+
tty: bool = False,
124+
stream: bool = False,
125+
socket: bool = False,
126+
demux: bool = False,
127+
) -> (
128+
str
129+
| SocketIO
130+
| _BufferedReaderStream
131+
| SSHSocket
132+
| CancellableStream[str]
133+
| CancellableStream[tuple[str | None, str | None]]
134+
| tuple[str | None, str | None]
135+
): ...

0 commit comments

Comments
 (0)