Skip to content

Commit 4d3290c

Browse files
miguelgrinberggithub-actions[bot]
authored andcommitted
Fix new linter error when importing annotationlib (#3143)
(cherry picked from commit 026f515)
1 parent 23bb050 commit 4d3290c

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
@@ -37,7 +37,7 @@
3737
try:
3838
import annotationlib
3939
except ImportError:
40-
annotationlib = None
40+
annotationlib = None # type: ignore[assignment]
4141

4242
try:
4343
from types import UnionType

0 commit comments

Comments
 (0)