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

Method from_dict

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

Source from the content-addressed store, hash-verified

510
511 @staticmethod
512 def from_dict(obj: Any) -> 'AgentSelectRequest':
513 assert isinstance(obj, dict)
514 name = from_str(obj.get("name"))
515 return AgentSelectRequest(name)
516
517 def to_dict(self) -> dict:
518 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_strFunction · 0.70
AgentSelectRequestClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected