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

Method _get_attribute

dm_control/mjcf/element.py:538–540  ·  view source on GitHub ↗
(self, attribute_name)

Source from the content-addressed store, hash-verified

536 attribute_name, self._spec.name))
537
538 def _get_attribute(self, attribute_name):
539 self._check_valid_attribute(attribute_name)
540 return self._attributes[attribute_name].value
541
542 def get_attribute_xml_string(self,
543 attribute_name,

Callers 3

get_attributesMethod · 0.95
set_attributesMethod · 0.95
__getattr__Method · 0.95

Calls 1

Tested by

no test coverage detected