qdrant_locations() — langchain Function Reference
Architecture documentation for the qdrant_locations() function in fixtures.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e1a94d5e_42c1_7062_9afc_b71f95f655dc["qdrant_locations()"] e6ccb09e_775f_f9f4_b624_922a47ac1506["fixtures.py"] e1a94d5e_42c1_7062_9afc_b71f95f655dc -->|defined in| e6ccb09e_775f_f9f4_b624_922a47ac1506 style e1a94d5e_42c1_7062_9afc_b71f95f655dc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/qdrant/tests/integration_tests/fixtures.py lines 10–25
def qdrant_locations(use_in_memory: bool = True) -> list[str]: # noqa: FBT001, FBT002
locations = []
if use_in_memory:
logger.info("Running Qdrant tests with in-memory mode.")
locations.append(":memory:")
if qdrant_running_locally():
logger.info("Running Qdrant tests with local Qdrant instance.")
locations.append("http://localhost:6333")
if qdrant_url := os.getenv("QDRANT_URL"):
logger.info("Running Qdrant tests with Qdrant instance at %s.", qdrant_url)
locations.append(qdrant_url)
return locations
Domain
Subdomains
Source
Frequently Asked Questions
What does qdrant_locations() do?
qdrant_locations() is a function in the langchain codebase, defined in libs/partners/qdrant/tests/integration_tests/fixtures.py.
Where is qdrant_locations() defined?
qdrant_locations() is defined in libs/partners/qdrant/tests/integration_tests/fixtures.py at line 10.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free