conftest.py — langchain Source File
Architecture documentation for conftest.py, a python file in the langchain codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 137b3439_98c4_a7b0_b02c_383090526447["conftest.py"] 9e98f0a7_ec6e_708f_4f1b_e9428b316e1c["os"] 137b3439_98c4_a7b0_b02c_383090526447 --> 9e98f0a7_ec6e_708f_4f1b_e9428b316e1c e9f800f2_8227_1095_42ef_324e02810451["qdrant_client"] 137b3439_98c4_a7b0_b02c_383090526447 --> e9f800f2_8227_1095_42ef_324e02810451 513f2bf4_0acd_14e4_0a43_45f7716ce101["tests.integration_tests.fixtures"] 137b3439_98c4_a7b0_b02c_383090526447 --> 513f2bf4_0acd_14e4_0a43_45f7716ce101 style 137b3439_98c4_a7b0_b02c_383090526447 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import os
from qdrant_client import QdrantClient
from tests.integration_tests.fixtures import qdrant_locations
def pytest_runtest_teardown() -> None:
"""Clean up all collections after the each test."""
for location in qdrant_locations():
client = QdrantClient(location=location, api_key=os.getenv("QDRANT_API_KEY"))
collections = client.get_collections().collections
for collection in collections:
client.delete_collection(collection.name)
Domain
Subdomains
Functions
Dependencies
- os
- qdrant_client
- tests.integration_tests.fixtures
Source
Frequently Asked Questions
What does conftest.py do?
conftest.py is a source file in the langchain codebase, written in python. It belongs to the CoreAbstractions domain, RunnableInterface subdomain.
What functions are defined in conftest.py?
conftest.py defines 1 function(s): pytest_runtest_teardown.
What does conftest.py depend on?
conftest.py imports 3 module(s): os, qdrant_client, tests.integration_tests.fixtures.
Where is conftest.py in the architecture?
conftest.py is located at libs/partners/qdrant/tests/integration_tests/conftest.py (domain: CoreAbstractions, subdomain: RunnableInterface, directory: libs/partners/qdrant/tests/integration_tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free