-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix return type docs for container.logs()
#2240
Conversation
Please sign your commits following these rules: $ git clone -b "master" git@github.com:Bob-Du/docker-py.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
Signed-off-by: BobDu <i@bobdu.cc>
Signed-off-by: BobDu <i@bobdu.cc>
ping @milas Years have passed, and the issue still exists. Given that this project remains active and is widely used, could you please pay attention to this PR? |
Thank you for the documentation fix. Pinging on an old PR that has been revised is acceptable but please be respectful. This PR might have existed for 5 years but it was not actually mergeable until recently, as it was missing DCO. |
container.logs()
The documentation at https://docker-py.readthedocs.io/en/stable/containers.html#docker.models.containers.Container.logs says "generator or str", but docker/docker-py#2240 will change this to say "generator of bytes or bytes".
In container logs , return is bytes or generator iterator of output bytes , not string , the comments is error.