Skip to content

Commit f9785b6

Browse files
Fix new linter error when importing annotationlib (#3143) (#3145)
(cherry picked from commit 026f515) Co-authored-by: Miguel Grinberg <[email protected]>
1 parent 23bb050 commit f9785b6

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)