MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / get

Method get

relay/instance_registry.py:368–370  ·  view source on GitHub ↗

Get an instance by ID

(self, instance_id: str)

Source from the content-addressed store, hash-verified

366 await self.unregister(instance_id)
367
368 def get(self, instance_id: str) -> UnityInstance | None:
369 """Get an instance by ID"""
370 return self._instances.get(instance_id)
371
372 def get_default(self) -> UnityInstance | None:
373 """Get the default instance"""

Callers 15

from_dictMethod · 0.45
get_status_dirFunction · 0.45
_handle_connectionMethod · 0.45
_handle_unity_messageMethod · 0.45
_heartbeat_loopMethod · 0.45
_handle_cli_messageMethod · 0.45
_handle_requestMethod · 0.45
_execute_commandMethod · 0.45
_resolve_log_dirFunction · 0.45
_resolve_log_levelFunction · 0.45
parse_messageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected