MCPcopy
hub / github.com/pydata/xarray / is_dict_like

Function is_dict_like

xarray/namedarray/utils.py:107–108  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

105
106
107def is_dict_like(value: Any) -> TypeGuard[Mapping[Any, Any]]:
108 return hasattr(value, "keys") and hasattr(value, "__getitem__")
109
110
111def drop_missing_dims(

Callers 15

chunkMethod · 0.90
_check_childrenMethod · 0.90
headMethod · 0.90
tailMethod · 0.90
thinMethod · 0.90
dropMethod · 0.90
_item_key_to_tupleMethod · 0.90
set_dimsMethod · 0.90
coarsen_reshapeMethod · 0.90
selMethod · 0.90
selMethod · 0.90
deep_alignFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…