The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
partners/astradb: Use single file instead of module for AstraDBVectorStore (#17644)
Christophe Bornetf59ddcab7431
diff --git a/libs/partners/astradb/langchain_astradb/vectorstores/astradb.py b/libs/partners/astradb/langchain_astradb/vectorstores.pysimilarity index 100%rename from libs/partners/astradb/langchain_astradb/vectorstores/astradb.pyrename to libs/partners/astradb/langchain_astradb/vectorstores.pydiff --git a/libs/partners/astradb/langchain_astradb/vectorstores/__init__.py b/libs/partners/astradb/langchain_astradb/vectorstores/__init__.pydeleted file mode 100644index 310732d125..0000000000--- a/libs/partners/astradb/langchain_astradb/vectorstores/__init__.py+++ /dev/null@@ -1,5 +0,0 @@-from langchain_astradb.vectorstores.astradb import AstraDBVectorStore--__all__ = [- "AstraDBVectorStore",-]diff --git a/libs/partners/astradb/tests/integration_tests/vectorstores/test_astradb.py b/libs/partners/astradb/tests/integration_tests/test_vectorstores.pysimilarity index 99%rename from libs/partners/astradb/tests/integration_tests/vectorstores/test_astradb.pyrename to libs/partners/astradb/tests/integration_tests/test_vectorstores.pyindex de68c016a9..8e6d20152b 100644--- a/libs/partners/astradb/tests/integration_tests/vectorstores/test_astradb.py+++ b/libs/partners/astradb/tests/integration_tests/test_vectorstores.py@@ -10,7 +10,7 @@ Required to run this test:- optionally this as well (otherwise defaults are used):export ASTRA_DB_KEYSPACE="my_keyspace"- optionally:- export SKIP_COLLECTION_DELETE="0" ("1" = no deletions, default)+ export ASTRA_DB_SKIP_COLLECTION_DELETIONS="0" ("1" = no deletions, default)"""import json@@ -157,7 +157,6 @@ def store_parseremb(v_store.clear()[email protected]("astrapy")@pytest.mark.skipif(not _has_env_vars(), reason="Missing Astra DB env. vars")class TestAstraDBVectorStore:def test_astradb_vectorstore_create_delete(