Elasticsearch-dsl-py: ImportError: cannot import name 'DocType'

Created on 19 Nov 2019  Â·  2Comments  Â·  Source: elastic/elasticsearch-dsl-py

use pip3 install elasticsearch-dsl
ImportError: cannot import name 'DocType'
How to fix this error?

Most helpful comment

DocType has been renamed to Document in newer versions. Hope this helps!

All 2 comments

DocType has been renamed to Document in newer versions. Hope this helps!

DocType has been renamed to Document in newer versions.

Was this page helpful?
0 / 5 - 0 ratings