test_array_repeat() — anthropic-sdk-python Function Reference
Architecture documentation for the test_array_repeat() function in test_qs.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 3bb51645_60fb_fbb8_8d9e_78b2f3ad41f4["test_array_repeat()"] f0b34a63_809b_7308_2411_fc88725d50fa["test_qs.py"] 3bb51645_60fb_fbb8_8d9e_78b2f3ad41f4 -->|defined in| f0b34a63_809b_7308_2411_fc88725d50fa style 3bb51645_60fb_fbb8_8d9e_78b2f3ad41f4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_qs.py lines 57–61
def test_array_repeat() -> None:
assert unquote(stringify({"in": ["foo", "bar"]})) == "in=foo&in=bar"
assert unquote(stringify({"a": {"b": [True, False]}})) == "a[b]=true&a[b]=false"
assert unquote(stringify({"a": {"b": [True, False, None, True]}})) == "a[b]=true&a[b]=false&a[b]=true"
assert unquote(stringify({"in": ["foo", {"b": {"c": ["d", "e"]}}]})) == "in=foo&in[b][c]=d&in[b][c]=e"
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_array_repeat() do?
test_array_repeat() is a function in the anthropic-sdk-python codebase, defined in tests/test_qs.py.
Where is test_array_repeat() defined?
test_array_repeat() is defined in tests/test_qs.py at line 57.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free