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

Function _sections_repr

xarray/core/formatting_html.py:302–304  ·  view source on GitHub ↗
(sections: list[str])

Source from the content-addressed store, hash-verified

300
301
302def _sections_repr(sections: list[str]) -> str:
303 section_items = "".join(f"<li class='xr-section-item'>{s}</li>" for s in sections)
304 return f"<ul class='xr-sections'>{section_items}</ul>"
305
306
307def _obj_repr(obj, header_components, sections):

Callers 2

_obj_reprFunction · 0.85
datatree_child_reprFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…