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

Method _traverse_ids

dash/development/base_component.py:419–423  ·  view source on GitHub ↗

Yield components with IDs in the tree of children.

(self)

Source from the content-addressed store, hash-verified

417 yield "\n".join([list_path, p]), t
418
419 def _traverse_ids(self):
420 """Yield components with IDs in the tree of children."""
421 for t in self._traverse():
422 if isinstance(t, Component) and getattr(t, "id", None) is not None:
423 yield t
424
425 def __iter__(self):
426 """Yield IDs in the tree of children."""

Callers 1

__iter__Method · 0.95

Calls 1

_traverseMethod · 0.95

Tested by

no test coverage detected