summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@gmail.com>2015-11-17 10:47:28 -0500
committerDaniel Nephin <dnephin@gmail.com>2015-11-17 10:47:28 -0500
commit0284eadaff45e89dc9010a84ec13fae4b4bc45cc (patch)
tree29512ccb856895bdcd8115727355984d7dd72938 /docs
parent4e441b2a6bbac7b9b43adca05800c8f46e18ec16 (diff)
parent7e2ec1ac6b49af1e98fe693051f61d73ba6d8f28 (diff)
downloaddocker-py-0284eadaff45e89dc9010a84ec13fae4b4bc45cc.tar.gz
Merge pull request #805 from sourcelair/enhancement/stats-no-stream
Add support for non-stream stats of containers
Diffstat (limited to 'docs')
-rw-r--r--docs/api.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index a31aad0..6890427 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -874,6 +874,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