MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / is_mapping_t

Function is_mapping_t

src/opencode_ai/_utils/_utils.py:164–165  ·  view source on GitHub ↗
(obj: _MappingT | object)

Source from the content-addressed store, hash-verified

162
163
164def is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:
165 return isinstance(obj, Mapping)
166
167
168def is_dict(obj: object) -> TypeGuard[dict[object, object]]:

Callers 3

to_httpx_filesFunction · 0.85
async_to_httpx_filesFunction · 0.85
get_required_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected