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

Function _assert_compat_valid

xarray/structure/merge.py:186–188  ·  view source on GitHub ↗
(compat)

Source from the content-addressed store, hash-verified

184
185
186def _assert_compat_valid(compat):
187 if not isinstance(compat, CombineKwargDefault) and compat not in _VALID_COMPAT:
188 raise ValueError(f"compat={compat!r} invalid: must be {set(_VALID_COMPAT)}")
189
190
191MergeElement = tuple[Variable, Index | None]

Callers 3

merge_collectedFunction · 0.85
merge_coordsFunction · 0.85
merge_coreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…