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

Method stringify

src/anthropic/_qs.py:37–50  ·  view source on GitHub ↗
(
        self,
        params: Params,
        *,
        array_format: ArrayFormat | NotGiven = not_given,
        nested_format: NestedFormat | NotGiven = not_given,
    )

Source from the content-addressed store, hash-verified

35 return parse_qs(query)
36
37 def stringify(
38 self,
39 params: Params,
40 *,
41 array_format: ArrayFormat | NotGiven = not_given,
42 nested_format: NestedFormat | NotGiven = not_given,
43 ) -> str:
44 return urlencode(
45 self.stringify_items(
46 params,
47 array_format=array_format,
48 nested_format=nested_format,
49 )
50 )
51
52 def stringify_items(
53 self,

Callers 1

_build_requestMethod · 0.80

Calls 1

stringify_itemsMethod · 0.95

Tested by

no test coverage detected