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.
This commit is contained in:
@@ -19,6 +19,7 @@ Example Usage
|
|||||||
|
|
||||||
.. testcode::
|
.. testcode::
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
from elasticsearch import Elasticsearch
|
from elasticsearch import Elasticsearch
|
||||||
es = Elasticsearch()
|
es = Elasticsearch()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user