MCPcopy Index your code
hub / github.com/github/copilot-sdk / from_dict

Method from_dict

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

Source from the content-addressed store, hash-verified

2822
2823 @staticmethod
2824 def from_dict(obj: Any) -> 'MCPAppsListToolsResult':
2825 assert isinstance(obj, dict)
2826 tools = from_list(lambda x: from_dict(lambda x: x, x), obj.get("tools"))
2827 return MCPAppsListToolsResult(tools)
2828
2829 def to_dict(self) -> dict:
2830 result: dict = {}

Callers

nothing calls this directly

Calls 4

from_listFunction · 0.70
from_dictFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected