Skip to content

Commit fc7f5a0

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

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
@@ -38,7 +38,7 @@
3838
try:
3939
import annotationlib
4040
except ImportError:
41-
annotationlib = None
41+
annotationlib = None # type: ignore[assignment]
4242

4343
try:
4444
from types import UnionType

0 commit comments

Comments
 (0)