Skip to content

Commit efc4b71

Browse files
committed
[docker-py] Fix ExecApiMixin.exec_start overloads
1 parent 14adf68 commit efc4b71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stubs/docker/docker/api/exec_api.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ class ExecApiMixin:
4444
detach: Literal[False] = False,
4545
tty: bool = False,
4646
stream: bool = False,
47-
demux: bool = False,
4847
*,
4948
socket: Literal[True],
49+
demux: bool = False,
5050
) -> SocketIO | _BufferedReaderStream | SSHSocket: ...
5151
@overload
5252
def exec_start(
@@ -79,10 +79,10 @@ class ExecApiMixin:
7979
exec_id: str,
8080
detach: Literal[False] = False,
8181
tty: bool = False,
82-
socket: Literal[False] = False,
83-
demux: Literal[False] = False,
8482
*,
8583
stream: Literal[True],
84+
socket: Literal[False] = False,
85+
demux: Literal[False] = False,
8686
) -> CancellableStream[str]: ...
8787
@overload
8888
def exec_start(

0 commit comments

Comments
 (0)