mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-13 10:08:27 +08:00
Add return type to Docker Container.stop (#11869)
We can see at https://github.com/docker/docker-py/blob/b6464dbed92b14b2c61d5ee49805fce041a3e083/docker/models/containers.py#L452 that this returns the return value of `self.client.api.stop`. We can see at https://github.com/docker/docker-py/blob/b6464dbed92b14b2c61d5ee49805fce041a3e083/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