File tree Expand file tree Collapse file tree
stubs/docker/docker/context Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from 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
66class _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
You can’t perform that action at this time.
0 commit comments