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

Function _emit_freq_deprecation_warning

xarray/coding/cftime_offsets.py:766–771  ·  view source on GitHub ↗
(deprecated_freq)

Source from the content-addressed store, hash-verified

764
765
766def _emit_freq_deprecation_warning(deprecated_freq):
767 recommended_freq = _DEPRECATED_FREQUENCIES[deprecated_freq]
768 message = _DEPRECATION_MESSAGE.format(
769 deprecated_freq=deprecated_freq, recommended_freq=recommended_freq
770 )
771 emit_user_level_warning(message, FutureWarning)
772
773
774def to_offset(

Callers 1

to_offsetFunction · 0.85

Calls 2

emit_user_level_warningFunction · 0.90
formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…