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

Method from_dict

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

Source from the content-addressed store, hash-verified

23165
23166 @staticmethod
23167 def from_dict(obj: Any) -> 'RPC':
23168 assert isinstance(obj, dict)
23169 abort_request = AbortRequest.from_dict(obj.get("AbortRequest"))
23170 abort_result = AbortResult.from_dict(obj.get("AbortResult"))
23171 account_all_users = AccountAllUsers.from_dict(obj.get("AccountAllUsers"))
23172 account_get_all_users_result = from_list(AccountAllUsers.from_dict, obj.get("AccountGetAllUsersResult"))
23173 account_get_current_auth_result = AccountGetCurrentAuthResult.from_dict(obj.get("AccountGetCurrentAuthResult"))
23174 account_get_quota_request = AccountGetQuotaRequest.from_dict(obj.get("AccountGetQuotaRequest"))
23175 account_get_quota_result = AccountGetQuotaResult.from_dict(obj.get("AccountGetQuotaResult"))
23176 account_login_request = AccountLoginRequest.from_dict(obj.get("AccountLoginRequest"))
23177 account_login_result = AccountLoginResult.from_dict(obj.get("AccountLoginResult"))
23178 account_logout_request = AccountLogoutRequest.from_dict(obj.get("AccountLogoutRequest"))
23179 account_logout_result = AccountLogoutResult.from_dict(obj.get("AccountLogoutResult"))
23180 account_quota_snapshot = AccountQuotaSnapshot.from_dict(obj.get("AccountQuotaSnapshot"))
23181 adaptive_thinking_support = AdaptiveThinkingSupport(obj.get("AdaptiveThinkingSupport"))
23182 agent_discovery_path = AgentDiscoveryPath.from_dict(obj.get("AgentDiscoveryPath"))
23183 agent_discovery_path_list = AgentDiscoveryPathList.from_dict(obj.get("AgentDiscoveryPathList"))
23184 agent_discovery_path_scope = AgentDiscoveryPathScope(obj.get("AgentDiscoveryPathScope"))
23185 agent_get_current_result = AgentGetCurrentResult.from_dict(obj.get("AgentGetCurrentResult"))
23186 agent_info = AgentInfo.from_dict(obj.get("AgentInfo"))
23187 agent_info_source = AgentInfoSource(obj.get("AgentInfoSource"))
23188 agent_list = AgentList.from_dict(obj.get("AgentList"))
23189 agent_registry_live_target_entry = AgentRegistryLiveTargetEntry.from_dict(obj.get("AgentRegistryLiveTargetEntry"))
23190 agent_registry_live_target_entry_attention_kind = AgentRegistryLiveTargetEntryAttentionKind(obj.get("AgentRegistryLiveTargetEntryAttentionKind"))
23191 agent_registry_live_target_entry_kind = AgentRegistryLiveTargetEntryKind(obj.get("AgentRegistryLiveTargetEntryKind"))
23192 agent_registry_live_target_entry_last_terminal_event = AgentRegistryLiveTargetEntryLastTerminalEvent(obj.get("AgentRegistryLiveTargetEntryLastTerminalEvent"))
23193 agent_registry_live_target_entry_status = AgentRegistryLiveTargetEntryStatus(obj.get("AgentRegistryLiveTargetEntryStatus"))
23194 agent_registry_log_capture = AgentRegistryLogCapture.from_dict(obj.get("AgentRegistryLogCapture"))
23195 agent_registry_log_capture_open_error_reason = AgentRegistryLogCaptureOpenErrorReason(obj.get("AgentRegistryLogCaptureOpenErrorReason"))
23196 agent_registry_spawn_error = AgentRegistrySpawnError.from_dict(obj.get("AgentRegistrySpawnError"))
23197 agent_registry_spawn_permission_mode = AgentRegistrySpawnPermissionMode(obj.get("AgentRegistrySpawnPermissionMode"))
23198 agent_registry_spawn_registry_timeout = AgentRegistrySpawnRegistryTimeout.from_dict(obj.get("AgentRegistrySpawnRegistryTimeout"))
23199 agent_registry_spawn_request = AgentRegistrySpawnRequest.from_dict(obj.get("AgentRegistrySpawnRequest"))
23200 agent_registry_spawn_result = _load_AgentRegistrySpawnResult(obj.get("AgentRegistrySpawnResult"))
23201 agent_registry_spawn_spawned = AgentRegistrySpawnSpawned.from_dict(obj.get("AgentRegistrySpawnSpawned"))
23202 agent_registry_spawn_validation_error = AgentRegistrySpawnValidationError.from_dict(obj.get("AgentRegistrySpawnValidationError"))
23203 agent_registry_spawn_validation_error_field = AgentRegistrySpawnValidationErrorField(obj.get("AgentRegistrySpawnValidationErrorField"))
23204 agent_registry_spawn_validation_error_reason = AgentRegistrySpawnValidationErrorReason(obj.get("AgentRegistrySpawnValidationErrorReason"))
23205 agent_reload_result = AgentReloadResult.from_dict(obj.get("AgentReloadResult"))
23206 agents_discover_request = AgentsDiscoverRequest.from_dict(obj.get("AgentsDiscoverRequest"))
23207 agent_select_request = AgentSelectRequest.from_dict(obj.get("AgentSelectRequest"))
23208 agent_select_result = AgentSelectResult.from_dict(obj.get("AgentSelectResult"))
23209 agents_get_discovery_paths_request = AgentsGetDiscoveryPathsRequest.from_dict(obj.get("AgentsGetDiscoveryPathsRequest"))
23210 allow_all_permission_set_result = AllowAllPermissionSetResult.from_dict(obj.get("AllowAllPermissionSetResult"))
23211 allow_all_permission_state = AllowAllPermissionState.from_dict(obj.get("AllowAllPermissionState"))
23212 api_key_auth_info = APIKeyAuthInfo.from_dict(obj.get("ApiKeyAuthInfo"))
23213 auth_info = _load_AuthInfo(obj.get("AuthInfo"))
23214 auth_info_type = AuthInfoType(obj.get("AuthInfoType"))
23215 cancel_user_requested_shell_command_result = CancelUserRequestedShellCommandResult.from_dict(obj.get("CancelUserRequestedShellCommandResult"))
23216 canvas_action = CanvasAction.from_dict(obj.get("CanvasAction"))
23217 canvas_action_invoke_request = CanvasActionInvokeRequest.from_dict(obj.get("CanvasActionInvokeRequest"))
23218 canvas_action_invoke_result = obj.get("CanvasActionInvokeResult")
23219 canvas_close_request = CanvasCloseRequest.from_dict(obj.get("CanvasCloseRequest"))
23220 canvas_host_context = CanvasHostContext.from_dict(obj.get("CanvasHostContext"))
23221 canvas_host_context_capabilities = CanvasHostContextCapabilities.from_dict(obj.get("CanvasHostContextCapabilities"))
23222 canvas_json_schema = obj.get("CanvasJsonSchema")
23223 canvas_list = CanvasList.from_dict(obj.get("CanvasList"))
23224 canvas_list_open_result = CanvasListOpenResult.from_dict(obj.get("CanvasListOpenResult"))

Callers 15

from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45
from_dictMethod · 0.45

Tested by

no test coverage detected