MCPcopy Index your code
hub / github.com/pydata/xarray / _pick_attrs

Function _pick_attrs

xarray/convert.py:62–64  ·  view source on GitHub ↗

Return attrs with keys in keys list

(attrs, keys)

Source from the content-addressed store, hash-verified

60
61
62def _pick_attrs(attrs, keys):
63 """Return attrs with keys in keys list"""
64 return {k: v for k, v in attrs.items() if k in keys}
65
66
67def _get_iris_args(attrs):

Callers 1

_get_iris_argsFunction · 0.85

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…