From 88b70b9db93949ed4b1c7f3b478df9492c3872b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Fern=C3=A1ndez=20Iglesias?= Date: Sat, 22 Nov 2025 16:48:14 +0100 Subject: [PATCH] [docker-py] Add `str` type to `named` parameter in `Image.save()` method --- stubs/docker/docker/models/images.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/docker/docker/models/images.pyi b/stubs/docker/docker/models/images.pyi index 7de317a325b3..cf1e54ae0cea 100644 --- a/stubs/docker/docker/models/images.pyi +++ b/stubs/docker/docker/models/images.pyi @@ -26,7 +26,7 @@ class Image(Model): def tags(self) -> list[str]: ... def history(self) -> list[Any]: ... def remove(self, force: bool = False, noprune: bool = False) -> dict[str, Any]: ... - def save(self, chunk_size: int = 2097152, named: bool = False) -> Iterator[Any]: ... + def save(self, chunk_size: int = 2097152, named: str | bool = False) -> Iterator[Any]: ... def tag(self, repository: str, tag: str | None = None, **kwargs) -> bool: ... class RegistryData(Model):