chore: fix return type docs for `container.logs()` (#2240)

This commit is contained in:
Bob Du 2024-04-10 04:13:21 +08:00 committed by GitHub
parent 9ad4bddc9e
commit b6464dbed9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -844,7 +844,7 @@ class ContainerApiMixin:
float (in fractional seconds)
Returns:
(generator or str)
(generator of bytes or bytes)
Raises:
:py:class:`docker.errors.APIError`

View File

@ -313,7 +313,7 @@ class Container(Model):
float (in nanoseconds)
Returns:
(generator or str): Logs from the container.
(generator of bytes or bytes): Logs from the container.
Raises:
:py:class:`docker.errors.APIError`