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

Method error_message

xarray/util/deprecation_helpers.py:207–212  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205 )
206
207 def error_message(self) -> str:
208 return (
209 f" Error might be related to new default (`{self._name}={self._new!r}`). "
210 f"Previously the default was `{self._name}={self._old!r}`. "
211 f"The recommendation is to set {self._name!r} explicitly for this case."
212 )
213
214
215_DATA_VARS_DEFAULT = CombineKwargDefault(name="data_vars", old="all", new=None)

Callers 2

process_subset_optFunction · 0.80
align_indexesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected