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

Method from_dict

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

Source from the content-addressed store, hash-verified

15080
15081 @staticmethod
15082 def from_dict(obj: Any) -> 'SessionFSError':
15083 assert isinstance(obj, dict)
15084 code = SessionFSErrorCode(obj.get("code"))
15085 message = from_union([from_str, from_none], obj.get("message"))
15086 return SessionFSError(code, message)
15087
15088 def to_dict(self) -> dict:
15089 result: dict = {}

Callers

nothing calls this directly

Calls 4

SessionFSErrorCodeClass · 0.70
from_unionFunction · 0.70
SessionFSErrorClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected