Add types to parameters for Docker Network.disconnect (#12007)

This commit is contained in:
Adam Dangoor
2024-05-23 09:10:13 +01:00
committed by GitHub
parent f7c03486ee
commit 933444d1a8

View File

@@ -9,7 +9,7 @@ class Network(Model):
@property
def containers(self) -> list[Container]: ...
def connect(self, container: str | Container, *args, **kwargs) -> None: ...
def disconnect(self, container: str | Container, *args, **kwargs) -> None: ...
def disconnect(self, container: str | Container, force: bool = False) -> None: ...
def remove(self) -> None: ...
class NetworkCollection(Collection[Network]):