async def test_async_methods_called_without_async_client(self, vector_store):
        """Makes sure that we present an easy to understand error message to the user if he did not not provide an async client, but tried to call async methods."""
        with pytest.raises(AsyncClientNotProvidedError):
            await vector_store.async_add(
                [TextNode(text="Hello world.", embedding=[0.0, 0.0, 0.3])]
            )
        with pytest.raises(AsyncClientNotProvidedError):
            await vector_store.adelete(ref_doc_id="no_match_in_db")
        with pytest.raises(AsyncClientNotProvidedError):
            await vector_store.adelete_nodes(node_ids=["sample_node_id"])
        with pytest.raises(AsyncClientNotProvidedError):
            await vector_store.aclear()
        with pytest.raises(AsyncClientNotProvidedError):
            query = VectorStoreQuery(
                query_embedding=[0.3, 0.0, 0.0],
                similarity_top_k=10,
                query_str="test",
                mode=VectorStoreQueryMode.DEFAULT,
            )
            results = await vector_store.aquery(query)
Makes sure that we present an easy to understand error message to the user if he did not not provide an async client, but tried to call async methods.
llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/tests/test_vector_stores_weaviate.py