diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py index baf04a321c8eb44a5a27f5da7c290f9459f23842..c30b5f792c15b9c3ebf45f6f51ca9786f92afea5 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/llama_index/vector_stores/opensearch/base.py @@ -5,8 +5,6 @@ import json import uuid from typing import Any, Dict, Iterable, List, Optional, Union, cast -import nest_asyncio - from llama_index.core.bridge.pydantic import PrivateAttr from llama_index.core.schema import BaseNode, MetadataMode, TextNode @@ -321,7 +319,6 @@ class OpensearchVectorClient: self._os_client = _get_async_opensearch_client(self._endpoint, **kwargs) not_found_error = _import_not_found_error() - nest_asyncio.apply() event_loop = asyncio.get_event_loop() try: event_loop.run_until_complete( @@ -454,7 +451,6 @@ class OpensearchVectorStore(BasePydanticVectorStore): ) -> None: """Initialize params.""" super().__init__() - nest_asyncio.apply() self._client = client @property diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml index 5b2ff54568f5ef36ab73647c6f7377066f823629..4ee016546aa9f0bffa82dda65793138cefdff2dc 100644 --- a/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml +++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-opensearch/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-vector-stores-opensearch" readme = "README.md" -version = "0.1.6" +version = "0.1.7" [tool.poetry.dependencies] python = ">=3.8.1,<4.0"