Add return type to Docker Container.stop (#11869)

We can see at
b6464dbed9/docker/models/containers.py (L452)
that this returns the return value of `self.client.api.stop`.

We can see at
b6464dbed9/docker/api/container.py (L1187)
that this returns None.
This commit is contained in:
Adam Dangoor
2024-05-06 10:05:43 +01:00
committed by GitHub
parent 113b2ccd42
commit 727f3c4320

View File

@@ -48,7 +48,7 @@ class Container(Model):
def restart(self, **kwargs): ...
def start(self, **kwargs): ...
def stats(self, **kwargs): ...
def stop(self, **kwargs): ...
def stop(self, **kwargs) -> None: ...
def top(self, **kwargs): ...
def unpause(self): ...
def update(self, **kwargs): ...