MCPcopy
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
194def is_dict(obj: object) -> TypeGuard[dict[object, object]]:
195 return isinstance(obj, dict)
196
197
198def is_list(obj: object) -> TypeGuard[list[object]]:

Callers 15

assert_matches_typeFunction · 0.90
async_clientFunction · 0.90
__init__Method · 0.85
_build_requestMethod · 0.85
__stream__Method · 0.85
__stream__Method · 0.85
streamMethod · 0.85
streamMethod · 0.85
streamMethod · 0.85
count_tokensMethod · 0.85
streamMethod · 0.85

Calls

no outgoing calls

Tested by 2

async_clientFunction · 0.72