Skip to content

Commit

Permalink
Drop deprecated DocType (#1192)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored and honzakral committed May 31, 2019
1 parent 8bf7e25 commit 49b452d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion elasticsearch_dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .search import Search, MultiSearch
from .update_by_query import UpdateByQuery
from .field import *
from .document import Document, DocType, MetaField, InnerDoc
from .document import Document, MetaField, InnerDoc
from .mapping import Mapping
from .index import Index, IndexTemplate
from .analysis import analyzer, char_filter, normalizer, token_filter, tokenizer
Expand Down
3 changes: 0 additions & 3 deletions elasticsearch_dsl/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,3 @@ def save(self, using=None, index=None, validate=True, skip_empty=True, **kwargs)

return meta['result']

# limited backwards compatibility, to be removed in 7.0.0
DocType = Document

0 comments on commit 49b452d

Please sign in to comment.