MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / _find_child

Function _find_child

Scripts/codegen/build_mjcf_schema_snapshot.py:130–134  ·  view source on GitHub ↗
(parent: SchemaNode, name: str)

Source from the content-addressed store, hash-verified

128
129
130def _find_child(parent: SchemaNode, name: str) -> Optional[SchemaNode]:
131 for c in parent.children:
132 if c.name == name:
133 return c
134 return None
135
136
137# ----------------------------------------------------------------------------

Callers 1

_build_snapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected