Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode-sdk-python
/ __enter__
Method
__enter__
src/opencode_ai/_streaming.py:64–65 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
62
...
63
64
def
__enter__(self) -> Self:
65
return
self
66
67
def
__exit__(
68
self,
Callers
2
test_retrying_timeout_errors_doesnt_leak
Method · 0.45
test_retrying_status_errors_doesnt_leak
Method · 0.45
Calls
no outgoing calls
Tested by
2
test_retrying_timeout_errors_doesnt_leak
Method · 0.36
test_retrying_status_errors_doesnt_leak
Method · 0.36