Skip to content

Commit 9701d66

Browse files
Fix new linter error when importing annotationlib
1 parent 99155fe commit 9701d66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/dsl/document_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
try:
4040
import annotationlib
4141
except ImportError:
42-
annotationlib = None
42+
annotationlib = None # type: ignore[assignment]
4343

4444
try:
4545
from types import UnionType

0 commit comments

Comments
 (0)