Enhance docs for stats method

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
This commit is contained in:
Antonis Kalipetis 2015-10-09 11:57:37 +00:00
parent a11c11430a
commit 019a365a02
1 changed files with 2 additions and 0 deletions

View File

@ -873,6 +873,8 @@ This will stream statistics for a specific container.
* container (str): The container to stream statistics for
* decode (bool): If set to true, stream will be decoded into dicts on the
fly. False by default.
* stream (bool): If set to false, only the current stats will be returned
instead of a stream. True by default.
```python
>>> from docker import Client