Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ __init__
Method
__init__
tests/lib/environments/test_worker.py:1192–1193 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1190
1191
class
_Work:
1192
def
__init__(self) -> None:
1193
self.beats_during_tool = 0
1194
1195
async
def
heartbeat(self, work_id: str, **_kwargs: Any) -> Any:
# noqa: ARG002
1196
if
in_tool.is_set() and not release.is_set():
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected