MCPcopy Create free account
hub / github.com/github/copilot-sdk / from_dict

Method from_dict

python/copilot/generated/rpc.py:11393–11397  ·  view source on GitHub ↗
(obj: Any)

Source from the content-addressed store, hash-verified

11391
11392 @staticmethod
11393 def from_dict(obj: Any) -> 'MCPAppsDiagnoseResult':
11394 assert isinstance(obj, dict)
11395 capability = MCPAppsDiagnoseCapability.from_dict(obj.get("capability"))
11396 server = MCPAppsDiagnoseServer.from_dict(obj.get("server"))
11397 return MCPAppsDiagnoseResult(capability, server)
11398
11399 def to_dict(self) -> dict:
11400 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_dictMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected