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

Method reference_namespace

dm_control/mjcf/attribute.py:314–319  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

312
313 @property
314 def reference_namespace(self):
315 if isinstance(self._reference_namespace, _Attribute):
316 return constants.INDIRECT_REFERENCE_ATTRIB.get(
317 self._reference_namespace.value, self._reference_namespace.value)
318 else:
319 return self._reference_namespace
320
321 def _assign(self, value):
322 if not isinstance(value, (base.Element, str)) and not (

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected