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

Method from_dict

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

Source from the content-addressed store, hash-verified

590
591 @staticmethod
592 def from_dict(obj: Any) -> 'AllowAllPermissionSetResult':
593 assert isinstance(obj, dict)
594 enabled = from_bool(obj.get("enabled"))
595 success = from_bool(obj.get("success"))
596 return AllowAllPermissionSetResult(enabled, success)
597
598 def to_dict(self) -> dict:
599 result: dict = {}

Callers

nothing calls this directly

Calls 3

from_boolFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected