Skip to content

Commit 49b452d

Browse files
dsanders11honzakral
authored andcommitted
Drop deprecated DocType (#1192)
1 parent 8bf7e25 commit 49b452d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

elasticsearch_dsl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .search import Search, MultiSearch
55
from .update_by_query import UpdateByQuery
66
from .field import *
7-
from .document import Document, DocType, MetaField, InnerDoc
7+
from .document import Document, MetaField, InnerDoc
88
from .mapping import Mapping
99
from .index import Index, IndexTemplate
1010
from .analysis import analyzer, char_filter, normalizer, token_filter, tokenizer

elasticsearch_dsl/document.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,3 @@ def save(self, using=None, index=None, validate=True, skip_empty=True, **kwargs)
462462

463463
return meta['result']
464464

465-
# limited backwards compatibility, to be removed in 7.0.0
466-
DocType = Document
467-

0 commit comments

Comments
 (0)