MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / stringify

Method stringify

src/opencode_ai/_qs.py:40–53  ·  view source on GitHub ↗
(
        self,
        params: Params,
        *,
        array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
        nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
    )

Source from the content-addressed store, hash-verified

38 return parse_qs(query)
39
40 def stringify(
41 self,
42 params: Params,
43 *,
44 array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
45 nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
46 ) -> str:
47 return urlencode(
48 self.stringify_items(
49 params,
50 array_format=array_format,
51 nested_format=nested_format,
52 )
53 )
54
55 def stringify_items(
56 self,

Callers 1

_build_requestMethod · 0.80

Calls 1

stringify_itemsMethod · 0.95

Tested by

no test coverage detected