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

Function mod_version

xarray/namedarray/pycompat.py:86–88  ·  view source on GitHub ↗

Quick wrapper to get the version of the module.

(mod: ModType)

Source from the content-addressed store, hash-verified

84
85
86def mod_version(mod: ModType) -> Version:
87 """Quick wrapper to get the version of the module."""
88 return _get_cached_duck_array_module(mod).version
89
90
91def is_chunked_array(x: duckarray[Any, Any]) -> bool:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…