Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-deepmind/dm_control
/ clear
Method
clear
dm_control/mjcf/element.py:1389–1391 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1387
return
out_list
1388
1389
def
clear(self):
1390
for
child in self._full_list():
1391
child.remove()
1392
1393
def
__getitem__(self, index):
1394
if
(isinstance(index, str) and self._spec.identifier
Callers
1
_remove_attribute
Method · 0.45
Calls
2
_full_list
Method · 0.95
remove
Method · 0.45
Tested by
no test coverage detected