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

Method get

src/opencode_ai/resources/app.py:51–68  ·  view source on GitHub ↗

Get app info

(
        self,
        *,
        # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
        # The extra values given here take precedence over values defined on the client or passed to this method.
        extra_headers: Headers | None = None,
        extra_query: Query | None = None,
        extra_body: Body | None = None,
        timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
    )

Source from the content-addressed store, hash-verified

49 return AppResourceWithStreamingResponse(self)
50
51 def get(
52 self,
53 *,
54 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
55 # The extra values given here take precedence over values defined on the client or passed to this method.
56 extra_headers: Headers | None = None,
57 extra_query: Query | None = None,
58 extra_body: Body | None = None,
59 timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
60 ) -> App:
61 """Get app info"""
62 return self._get(
63 "/app",
64 options=make_request_options(
65 extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
66 ),
67 cast_to=App,
68 )
69
70 def init(
71 self,

Callers 15

_parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
wrappedFunction · 0.45
BaseModelClass · 0.45
constructMethod · 0.45
_get_extra_fields_typeFunction · 0.45
construct_typeFunction · 0.45
__init__Method · 0.45

Calls 1

make_request_optionsFunction · 0.85