partners/astradb: Use single file instead of module for AstraDBVectorStore (#17644)

This commit is contained in:
Christophe Bornet 2024-02-21 01:58:56 +01:00 committed by GitHub
parent 691ff67096
commit f59ddcab74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 7 deletions

View File

@ -1,5 +0,0 @@
from langchain_astradb.vectorstores.astradb import AstraDBVectorStore
__all__ = [
"AstraDBVectorStore",
]

View File

@ -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()
@pytest.mark.requires("astrapy")
@pytest.mark.skipif(not _has_env_vars(), reason="Missing Astra DB env. vars")
class TestAstraDBVectorStore:
def test_astradb_vectorstore_create_delete(