Skip to content

Commit 8f85f8d

Browse files
committed
style: fix mypy type inference for _default_mappings
1 parent b341345 commit 8f85f8d

File tree

1 file changed

+1
-1
lines changed
  • integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch

1 file changed

+1
-1
lines changed

integrations/elasticsearch/src/haystack_integrations/document_stores/elasticsearch/document_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(
136136
raise ValueError(msg)
137137

138138
if not self._custom_mapping:
139-
self._default_mappings = {
139+
self._default_mappings: dict[str, Any] = {
140140
"properties": {
141141
"embedding": {
142142
"type": "dense_vector",

0 commit comments

Comments
 (0)