(self, other, exclude_worldbody=False, dry_run=False)
| 1221 | spec=schema.MUJOCO, parent=None, attributes={'model': model}) |
| 1222 | |
| 1223 | def _attach(self, other, exclude_worldbody=False, dry_run=False): |
| 1224 | self._check_valid_attachment(other) |
| 1225 | if not dry_run: |
| 1226 | self._attachments[other.namescope] = other |
| 1227 | self._attach_children(other, exclude_worldbody, dry_run) |
| 1228 | self.namescope.increment_revision() |
| 1229 | |
| 1230 | @property |
| 1231 | def namescope(self): |
no test coverage detected