Skip to content

Commit 88b70b9

Browse files
committed
[docker-py] Add str type to named parameter in Image.save() method
1 parent cc79232 commit 88b70b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/docker/docker/models/images.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Image(Model):
2626
def tags(self) -> list[str]: ...
2727
def history(self) -> list[Any]: ...
2828
def remove(self, force: bool = False, noprune: bool = False) -> dict[str, Any]: ...
29-
def save(self, chunk_size: int = 2097152, named: bool = False) -> Iterator[Any]: ...
29+
def save(self, chunk_size: int = 2097152, named: str | bool = False) -> Iterator[Any]: ...
3030
def tag(self, repository: str, tag: str | None = None, **kwargs) -> bool: ...
3131

3232
class RegistryData(Model):

0 commit comments

Comments
 (0)