(self, instance: UnityInstance)
| 522 | return instance |
| 523 | |
| 524 | def _instance_needs_wait(self, instance: UnityInstance) -> bool: |
| 525 | return instance.status in (InstanceStatus.RELOADING, InstanceStatus.DISCONNECTED) or not instance.is_connected |
| 526 | |
| 527 | async def _wait_for_instance( |
| 528 | self, |
no outgoing calls
no test coverage detected