MCPcopy
hub / github.com/openai/openai-python / stringify

Method stringify

src/openai/_qs.py:36–49  ·  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

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

Callers 1

_build_requestMethod · 0.80

Calls 1

stringify_itemsMethod · 0.95

Tested by

no test coverage detected