Skip to content

Commit 3e75cd8

Browse files
authored
[docker] Add default value for detach parameter of ContainerCollection.create (#14666)
1 parent 6795f43 commit 3e75cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/docker/docker/models/containers.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class ContainerCollection(Collection[Container]):
325325
cpu_shares: int | None = None,
326326
cpuset_cpus: str | None = None,
327327
cpuset_mems: str | None = None,
328-
detach: Literal[True],
328+
detach: bool = False,
329329
device_cgroup_rules: list[Incomplete] | None = None,
330330
device_read_bps: list[Mapping[str, str | int]] | None = None,
331331
device_read_iops: list[Mapping[str, str | int]] | None = None,

0 commit comments

Comments
 (0)