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

Function _load_static_files

xarray/core/formatting_html.py:33–38  ·  view source on GitHub ↗

Lazily load the resource files into memory the first time they are needed

()

Source from the content-addressed store, hash-verified

31
32@lru_cache(None)
33def _load_static_files():
34 """Lazily load the resource files into memory the first time they are needed"""
35 return [
36 files(package).joinpath(resource).read_text(encoding="utf-8")
37 for package, resource in STATIC_FILES
38 ]
39
40
41def short_data_repr_html(array) -> str:

Callers 1

_obj_reprFunction · 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…