MCPcopy Create free account
hub / github.com/google-deepmind/dm_control / all_children

Method all_children

dm_control/mjcf/element.py:744–749  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

742 return self._is_removed
743
744 def all_children(self):
745 all_children = [child for child in self._children]
746 for attachment in self._attachments.values():
747 all_children += [child for child in attachment.all_children()
748 if child.spec.repeated]
749 return all_children
750
751 def to_xml(self, prefix_root=None, debug_context=None,
752 *,

Callers 7

find_allMethod · 0.95
_children_to_xmlMethod · 0.95
resolve_referencesMethod · 0.95
_update_referencesMethod · 0.95
_attach_childrenMethod · 0.45
_children_to_xmlMethod · 0.45

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected