We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70ce156 + 10f6eaf commit cf0199bCopy full SHA for cf0199b
docs/api.md
@@ -725,7 +725,7 @@ This will stream statistics for a specific container.
725
>>> from docker import Client
726
>>> cli = Client(base_url='tcp://127.0.0.1:2375')
727
>>> stats_obj = cli.stats('elasticsearch')
728
->>> for stat in stats:
+>>> for stat in stats_obj:
729
>>> print(stat)
730
{"read":"2015-02-11T21:47:30.49388286+02:00","network":{"rx_bytes":666052,"rx_packets":4409 ...
731
...
0 commit comments