MCPcopy Index your code
hub / github.com/plotly/dash / __iter__

Method __iter__

dash/development/base_component.py:425–428  ·  view source on GitHub ↗

Yield IDs in the tree of children.

(self)

Source from the content-addressed store, hash-verified

423 yield t
424
425 def __iter__(self):
426 """Yield IDs in the tree of children."""
427 for t in self._traverse_ids():
428 yield t.id # type: ignore[reportAttributeAccessIssue]
429
430 def __len__(self):
431 """Return the number of items in the tree."""

Callers

nothing calls this directly

Calls 1

_traverse_idsMethod · 0.95

Tested by

no test coverage detected