Get the default instance
(self)
| 370 | return self._instances.get(instance_id) |
| 371 | |
| 372 | def get_default(self) -> UnityInstance | None: |
| 373 | """Get the default instance""" |
| 374 | if self._default_instance_id: |
| 375 | return self._instances.get(self._default_instance_id) |
| 376 | return None |
| 377 | |
| 378 | def set_default(self, instance_id: str) -> bool: |
| 379 | """Set the default instance""" |