Skip to content

Commit 3a9de29

Browse files
Fix new linter error when importing annotationlib (#3143) (#3144)
(cherry picked from commit 026f515) Co-authored-by: Miguel Grinberg <[email protected]>
1 parent 8ebfd44 commit 3a9de29

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)