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)
|
float (in fractional seconds)
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
(generator or str)
|
(generator of bytes or bytes)
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:py:class:`docker.errors.APIError`
|
:py:class:`docker.errors.APIError`
|
||||||
|
|
|
@ -313,7 +313,7 @@ class Container(Model):
|
||||||
float (in nanoseconds)
|
float (in nanoseconds)
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
(generator or str): Logs from the container.
|
(generator of bytes or bytes): Logs from the container.
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
:py:class:`docker.errors.APIError`
|
:py:class:`docker.errors.APIError`
|
||||||
|
|
Loading…
Reference in New Issue