Skip to content

Commit 8f92f03

Browse files
committed
improve types
1 parent fa422be commit 8f92f03

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • integrations/opensearch/src/haystack_integrations/components/retrievers/opensearch

integrations/opensearch/src/haystack_integrations/components/retrievers/opensearch/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
from typing import Any
65

76
from haystack_integrations.document_stores.opensearch import OpenSearchDocumentStore
87

98

109
def _resolve_document_store(
11-
runtime_document_store: Any,
10+
runtime_document_store: OpenSearchDocumentStore | None,
1211
default_document_store: OpenSearchDocumentStore,
1312
) -> OpenSearchDocumentStore:
1413
"""

0 commit comments

Comments
 (0)