MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / test_interpolation

Route test_interpolation

tests/test_utils/test_path.py:None–None  ·  view source on GitHub ↗
pytest.mark.parametrize(
    "template, kwargs, expected",
    [
        ("/v1/{id}", dict(id="abc"), "/v1/abc"),
        ("/v1/{a}/{b}", dict(a="x", b="y"), "/v1/x/y"),
        ("/v1/{a}{b}/path/{c}?

Source from the content-addressed store, hash-verified

1from __future__ import annotations
2
3from typing import Any
4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected