Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anthropics/anthropic-sdk-python
/ is_dict
Function
is_dict
src/anthropic/_utils/_utils.py:194–195 ·
view source on GitHub ↗
(obj: object)
Source
from the content-addressed store, hash-verified
192
193
194
def
is_dict(obj: object) -> TypeGuard[dict[object, object]]:
195
return
isinstance(obj, dict)
196
197
198
def
is_list(obj: object) -> TypeGuard[list[object]]:
Callers
15
assert_matches_type
Function · 0.90
pytest_collection_modifyitems
Function · 0.90
async_client
Function · 0.90
__init__
Method · 0.85
_build_request
Method · 0.85
__stream__
Method · 0.85
__stream__
Method · 0.85
stream
Method · 0.85
stream
Method · 0.85
stream
Method · 0.85
count_tokens
Method · 0.85
stream
Method · 0.85
Calls
no outgoing calls
Tested by
2
pytest_collection_modifyitems
Function · 0.72
async_client
Function · 0.72