Commit Graph

9 Commits

Author SHA1 Message Date
Adam Dangoor 9174db0d7d Add some types to Docker ContainerCollection parameters (#11857) 2024-05-10 10:08:47 +02:00
Adam Dangoor 727f3c4320 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.
2024-05-06 11:05:43 +02:00
Adam Dangoor 113b2ccd42 Add return type to Docker Container.remove (#11868) 2024-05-06 11:01:55 +02:00
kasium 4005c2f214 Improve types in docker models (#11859) 2024-05-05 12:32:37 +02:00
Adam Dangoor 5883898b0a [docker-py] Add return type for building a Docker image (#11851) 2024-05-02 10:08:32 +02:00
kasium f244be921e Improve docker api types (#11846) 2024-04-30 13:43:08 +02:00
kasium 78a86de5d9 Add types to docker/context (#11818) 2024-04-29 14:27:55 +02:00
kasium 312dfe5791 Fully type docker/api/build (#11789) 2024-04-23 08:34:19 +02:00
kasium bc8fc36739 Add docker-py stubs (#11749) 2024-04-12 15:30:36 +02:00