mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Add return type to Docker Container.stop (#11869)
We can see atb6464dbed9/docker/models/containers.py (L452)that this returns the return value of `self.client.api.stop`. We can see atb6464dbed9/docker/api/container.py (L1187)that this returns None.
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user