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

Class AllowAllPermissionSetResult

python/copilot/generated/rpc.py:582–602  ·  view source on GitHub ↗

Indicates whether the operation succeeded and reports the post-mutation state.

Source from the content-addressed store, hash-verified

580# Experimental: this type is part of an experimental API and may change or be removed.
581@dataclass
582class AllowAllPermissionSetResult:
583 """Indicates whether the operation succeeded and reports the post-mutation state."""
584
585 enabled: bool
586 """Authoritative allow-all state after the mutation"""
587
588 success: bool
589 """Whether the operation succeeded"""
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 = {}
600 result["enabled"] = from_bool(self.enabled)
601 result["success"] = from_bool(self.success)
602 return result
603
604# Experimental: this type is part of an experimental API and may change or be removed.
605@dataclass

Callers 1

from_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…