From 99ad9a154ac43283e430bd442f3a5a54b6618ffb Mon Sep 17 00:00:00 2001 From: starenka Date: Sun, 20 Apr 2014 21:24:09 +0200 Subject: [PATCH] Update index.rst The missing import is already in the `.. testsetup::` however that block is not shown at http://elasticsearch-py.readthedocs.org/en/master/#python-elasticsearch-client. Not sure what's wrong, nevertheless one does not simply yank the example and go. --- docs/index.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.rst b/docs/index.rst index 8af552b6..742c18b6 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -19,6 +19,7 @@ Example Usage .. testcode:: + from datetime import datetime from elasticsearch import Elasticsearch es = Elasticsearch()