MCPcopy
hub / github.com/langchain-ai/langchain / poetry_conf

Function poetry_conf

libs/langchain/tests/unit_tests/test_dependencies.py:15–18  ·  view source on GitHub ↗

Load the pyproject.toml file.

()

Source from the content-addressed store, hash-verified

13
14@pytest.fixture()
15def poetry_conf() -> Dict[str, Any]:
16 """Load the pyproject.toml file."""
17 with open(PYPROJECT_TOML) as f:
18 return toml.load(f)["tool"]["poetry"]
19
20
21def test_required_dependencies(poetry_conf: Mapping[str, Any]) -> None:

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected