stringify_items() — anthropic-sdk-python Function Reference
Architecture documentation for the stringify_items() function in _qs.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD a4465198_32b8_125c_a12b_a1f3510b8955["stringify_items()"] 765fcca3_81c1_6ab1_98e8_c2929e7562e2["Querystring"] a4465198_32b8_125c_a12b_a1f3510b8955 -->|defined in| 765fcca3_81c1_6ab1_98e8_c2929e7562e2 0a2c9ce8_a659_23ba_622c_074027fb8d75["_serialize_multipartform()"] 0a2c9ce8_a659_23ba_622c_074027fb8d75 -->|calls| a4465198_32b8_125c_a12b_a1f3510b8955 bf6a5442_2bf0_bd51_b523_e2e0677623fb["stringify()"] bf6a5442_2bf0_bd51_b523_e2e0677623fb -->|calls| a4465198_32b8_125c_a12b_a1f3510b8955 fb8d0988_171e_e6ac_7477_809943dfac39["_stringify_item()"] a4465198_32b8_125c_a12b_a1f3510b8955 -->|calls| fb8d0988_171e_e6ac_7477_809943dfac39 style a4465198_32b8_125c_a12b_a1f3510b8955 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/anthropic/_qs.py lines 55–67
def stringify_items(
self,
params: Params,
*,
array_format: ArrayFormat | NotGiven = not_given,
nested_format: NestedFormat | NotGiven = not_given,
) -> list[tuple[str, str]]:
opts = Options(
qs=self,
array_format=array_format,
nested_format=nested_format,
)
return flatten([self._stringify_item(key, value, opts) for key, value in params.items()])
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does stringify_items() do?
stringify_items() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/_qs.py.
Where is stringify_items() defined?
stringify_items() is defined in src/anthropic/_qs.py at line 55.
What does stringify_items() call?
stringify_items() calls 1 function(s): _stringify_item.
What calls stringify_items()?
stringify_items() is called by 2 function(s): _serialize_multipartform, stringify.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free