Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
160
def
is_mapping(obj: object) -> TypeGuard[Mapping[str, object]]:
161
return
isinstance(obj, Mapping)
162
163
164
def
is_mapping_t(obj: _MappingT | object) -> TypeGuard[_MappingT]:
Callers
8
construct_type
Function · 0.85
_info_to_options
Method · 0.85
_build_request
Method · 0.85
deepcopy_minimal
Function · 0.85
strip_not_given
Function · 0.85
json_safe
Function · 0.85
_transform_recursive
Function · 0.85
_async_transform_recursive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected