mirror of https://github.com/docker/docker-py.git
chore: fix return type docs for `container.logs()` (#2240)
This commit is contained in:
parent
9ad4bddc9e
commit
b6464dbed9
|
@ -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`
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue