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

Function is_mapping

src/opencode_ai/_utils/_utils.py:160–161  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

158
159
160def is_mapping(obj: object) -> TypeGuard[Mapping[str, object]]:
161 return isinstance(obj, Mapping)
162
163
164def is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:

Callers 8

construct_typeFunction · 0.85
_info_to_optionsMethod · 0.85
_build_requestMethod · 0.85
deepcopy_minimalFunction · 0.85
strip_not_givenFunction · 0.85
json_safeFunction · 0.85
_transform_recursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected