(
node: DataTree, displays: dict[str, _DataTreeDisplay]
)
| 586 | |
| 587 | |
| 588 | def 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 | |
| 599 | def datatree_child_repr( |
no test coverage detected
searching dependent graphs…