Skip to content

Commit 0c0ee06

Browse files
committed
fix name collisions
1 parent e17261d commit 0c0ee06

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

stubs/docker/docker/context/context.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import TypedDict, type_check_only
22

3-
from docker.tls import TLSConfig
3+
from docker.tls import TLSConfig as _TLSConfig
44

55
@type_check_only
66
class _StorageData(TypedDict):
@@ -39,7 +39,7 @@ class Context:
3939
context_type: str | None
4040
orchestrator: str | None
4141
endpoints: dict[str, _Endpoint]
42-
tls_cfg: dict[str, TLSConfig]
42+
tls_cfg: dict[str, _TLSConfig]
4343
meta_path: str
4444
tls_path: str
4545
def __init__(
@@ -54,7 +54,7 @@ class Context:
5454
self,
5555
name: str = "docker",
5656
host: str | None = None,
57-
tls_cfg: TLSConfig | None = None,
57+
tls_cfg: _TLSConfig | None = None,
5858
skip_tls_verify: bool = False,
5959
def_namespace: str | None = None,
6060
) -> None: ...
@@ -74,7 +74,7 @@ class Context:
7474
@property
7575
def Metadata(self) -> _Metadata: ...
7676
@property
77-
def TLSConfig(self) -> TLSConfig: ...
77+
def TLSConfig(self) -> _TLSConfig: ...
7878
@property
7979
def TLSMaterial(self) -> _TLSMaterial: ...
8080
@property

0 commit comments

Comments
 (0)