Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ merge_mappings
Function
merge_mappings
xarray/tests/test_units.py:76–81 ·
view source on GitHub ↗
(base, *mappings)
Source
from the content-addressed store, hash-verified
74
75
76
def
merge_mappings(base, *mappings):
77
result = base.copy()
78
for
m in mappings:
79
result.update(m)
80
81
return
result
82
83
84
def
zip_mappings(*mappings):
Callers
4
test_init
Method · 0.85
test_broadcast_equals
Method · 0.85
test_grouped_operations
Method · 0.85
test_content_manipulation
Method · 0.85
Calls
2
copy
Method · 0.45
update
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…