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

Function datatree_sections

xarray/core/formatting_html.py:588–596  ·  view source on GitHub ↗
(
    node: DataTree, displays: dict[str, _DataTreeDisplay]
)

Source from the content-addressed store, hash-verified

586
587
588def datatree_sections(
589 node: DataTree, displays: dict[str, _DataTreeDisplay]
590) -> list[str]:
591 display = displays[node.path]
592 sections = []
593 if node.children and not display.disabled:
594 sections.append(children_section(node.children, displays))
595 sections.extend(display.sections)
596 return sections
597
598
599def datatree_child_repr(

Callers 2

datatree_child_reprFunction · 0.85
datatree_reprFunction · 0.85

Calls 1

children_sectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…