Skip to content

Commit 0081f41

Browse files
committed
fill in incomplete in docker/types/swarm.pyi
1 parent f7d2d7e commit 0081f41

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

stubs/docker/docker/types/swarm.pyi

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from _typeshed import Incomplete
21
from typing import Any
32

43
from .services import DriverConfig
@@ -17,7 +16,7 @@ class SwarmSpec(dict[str, Any]):
1716
node_cert_expiry: int | None = None,
1817
external_cas: list[SwarmExternalCA] | None = None,
1918
name: str | None = None,
20-
labels: dict[str, Incomplete] | None = None,
19+
labels: dict[str, str] | None = None,
2120
signing_ca_cert: str | None = None,
2221
signing_ca_key: str | None = None,
2322
ca_force_rotate: int | None = None,
@@ -27,9 +26,5 @@ class SwarmSpec(dict[str, Any]):
2726

2827
class SwarmExternalCA(dict[str, Any]):
2928
def __init__(
30-
self,
31-
url: str,
32-
protocol: str | None = None,
33-
options: dict[Incomplete, Incomplete] | None = None,
34-
ca_cert: str | None = None,
29+
self, url: str, protocol: str | None = None, options: dict[str, str] | None = None, ca_cert: str | None = None
3530
) -> None: ...

0 commit comments

Comments
 (0)