Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ spy
Function
spy
tests/lib/test_google_cloud.py:462–464 ·
view source on GitHub ↗
(fn: Any)
Source
from the content-addressed store, hash-verified
460
real_asyncify = google_cloud_module.asyncify
461
462
def
spy(fn: Any) -> Any:
463
offloaded.append(fn)
464
return
real_asyncify(fn)
465
466
monkeypatch.setattr(
"anthropic.lib.google_cloud._client.asyncify"
, spy)
467
Callers
nothing calls this directly
Calls
1
append
Method · 0.45
Tested by
no test coverage detected