Skip to content

Commit 25550af

Browse files
miguelgrinberggithub-actions[bot]
authored andcommitted
Fix new linter error when importing annotationlib (#3143)
(cherry picked from commit 026f515)
1 parent 03bef1e commit 25550af

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)