mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-04-29 05:00:01 +00:00
feat(api): update via SDK Studio
This commit is contained in:
parent
6d8571b73d
commit
d70071b1fc
6 changed files with 84 additions and 35 deletions
|
|
@ -92,6 +92,8 @@ class Opencode(SyncAPIClient):
|
|||
_strict_response_validation=_strict_response_validation,
|
||||
)
|
||||
|
||||
self._default_stream_cls = Stream
|
||||
|
||||
self.event = event.EventResource(self)
|
||||
self.app = app.AppResource(self)
|
||||
self.file = file.FileResource(self)
|
||||
|
|
@ -247,6 +249,8 @@ class AsyncOpencode(AsyncAPIClient):
|
|||
_strict_response_validation=_strict_response_validation,
|
||||
)
|
||||
|
||||
self._default_stream_cls = AsyncStream
|
||||
|
||||
self.event = event.AsyncEventResource(self)
|
||||
self.app = app.AsyncAppResource(self)
|
||||
self.file = file.AsyncFileResource(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue