Skip to content

Commit

Permalink
chore: fix return type docs for container.logs() (#2240)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobDu authored Apr 9, 2024
1 parent 9ad4bdd commit b6464db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/api/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ def logs(self, container, stdout=True, stderr=True, stream=False,
float (in fractional seconds)
Returns:
(generator or str)
(generator of bytes or bytes)
Raises:
:py:class:`docker.errors.APIError`
Expand Down
2 changes: 1 addition & 1 deletion docker/models/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def logs(self, **kwargs):
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`
Expand Down

0 comments on commit b6464db

Please sign in to comment.