MCPcopy Create free account
hub / github.com/github/copilot-sdk / AllowAllPermissionState

Class AllowAllPermissionState

python/copilot/generated/rpc.py:606–621  ·  view source on GitHub ↗

Current full allow-all permission state.

Source from the content-addressed store, hash-verified

604# Experimental: this type is part of an experimental API and may change or be removed.
605@dataclass
606class AllowAllPermissionState:
607 """Current full allow-all permission state."""
608
609 enabled: bool
610 """Whether full allow-all permissions are currently active"""
611
612 @staticmethod
613 def from_dict(obj: Any) -> 'AllowAllPermissionState':
614 assert isinstance(obj, dict)
615 enabled = from_bool(obj.get("enabled"))
616 return AllowAllPermissionState(enabled)
617
618 def to_dict(self) -> dict:
619 result: dict = {}
620 result["enabled"] = from_bool(self.enabled)
621 return result
622
623class APIKeyAuthInfoType(Enum):
624 API_KEY = "api-key"

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…