a2a.compat.v0_3.conversions module¶
- a2a.compat.v0_3.conversions.to_compat_agent_capabilities(core_cap: AgentCapabilities) AgentCapabilities¶
Convert agent capabilities to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_card(core_card: AgentCard) AgentCard¶
Convert agent card to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_card_signature(core_sig: AgentCardSignature) AgentCardSignature¶
Convert agent card signature to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_extension(core_ext: AgentExtension) AgentExtension¶
Convert agent extension to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_interface(core_interface: AgentInterface) AgentInterface¶
Convert agent interface to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_provider(core_provider: AgentProvider) AgentProvider¶
Convert agent provider to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_agent_skill(core_skill: AgentSkill) AgentSkill¶
Convert agent skill to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_artifact(core_artifact: Artifact) Artifact¶
Convert artifact to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_authentication_info(core_auth: AuthenticationInfo) PushNotificationAuthenticationInfo¶
Convert authentication info to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_cancel_task_request(core_req: CancelTaskRequest, request_id: str | int) CancelTaskRequest¶
Convert cancel task request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_create_task_push_notification_config_request(core_req: TaskPushNotificationConfig, request_id: str | int) SetTaskPushNotificationConfigRequest¶
Convert create task push notification config request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_delete_task_push_notification_config_request(core_req: DeleteTaskPushNotificationConfigRequest, request_id: str | int) DeleteTaskPushNotificationConfigRequest¶
Convert delete task push notification config request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_get_extended_agent_card_request(core_req: GetExtendedAgentCardRequest, request_id: str | int) GetAuthenticatedExtendedCardRequest¶
Convert get extended agent card request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_get_task_push_notification_config_request(core_req: GetTaskPushNotificationConfigRequest, request_id: str | int) GetTaskPushNotificationConfigRequest¶
Convert get task push notification config request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_get_task_request(core_req: GetTaskRequest, request_id: str | int) GetTaskRequest¶
Convert get task request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_list_task_push_notification_config_request(core_req: ListTaskPushNotificationConfigsRequest, request_id: str | int) ListTaskPushNotificationConfigRequest¶
Convert list task push notification config request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_list_task_push_notification_config_response(core_res: ListTaskPushNotificationConfigsResponse, request_id: str | int | None = None) ListTaskPushNotificationConfigResponse¶
Convert list task push notification config response to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_message(core_msg: Message) Message¶
Convert message to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_oauth_flows(core_flows: OAuthFlows) OAuthFlows¶
Convert oauth flows to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_part(core_part: Part) Part¶
Converts a v1.0 core Part (Protobuf object) to a v0.3 Part (Pydantic model).
- a2a.compat.v0_3.conversions.to_compat_push_notification_config(core_config: TaskPushNotificationConfig) PushNotificationConfig¶
Convert push notification config to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_security_requirement(core_req: SecurityRequirement) dict[str, list[str]]¶
Convert security requirement to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_security_scheme(core_scheme: SecurityScheme) SecurityScheme¶
Convert security scheme to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_send_message_configuration(core_config: SendMessageConfiguration) MessageSendConfiguration¶
Convert send message configuration to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_send_message_request(core_req: SendMessageRequest, request_id: str | int) SendMessageRequest¶
Convert send message request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_send_message_response(core_res: SendMessageResponse, request_id: str | int | None = None) SendMessageResponse¶
Convert send message response to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_stream_response(core_res: StreamResponse, request_id: str | int | None = None) SendStreamingMessageSuccessResponse¶
Convert stream response to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_subscribe_to_task_request(core_req: SubscribeToTaskRequest, request_id: str | int) TaskResubscriptionRequest¶
Convert subscribe to task request to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_task_artifact_update_event(core_event: TaskArtifactUpdateEvent) TaskArtifactUpdateEvent¶
Convert task artifact update event to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_task_push_notification_config(core_config: TaskPushNotificationConfig) TaskPushNotificationConfig¶
Convert task push notification config to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_task_status(core_status: TaskStatus) TaskStatus¶
Convert task status to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_compat_task_status_update_event(core_event: TaskStatusUpdateEvent) TaskStatusUpdateEvent¶
Convert task status update event to v0.3 compat type.
- a2a.compat.v0_3.conversions.to_core_agent_capabilities(compat_cap: AgentCapabilities) AgentCapabilities¶
Convert agent capabilities to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_card(compat_card: AgentCard) AgentCard¶
Convert agent card to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_card_signature(compat_sig: AgentCardSignature) AgentCardSignature¶
Convert agent card signature to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_extension(compat_ext: AgentExtension) AgentExtension¶
Convert agent extension to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_interface(compat_interface: AgentInterface) AgentInterface¶
Convert agent interface to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_provider(compat_provider: AgentProvider) AgentProvider¶
Convert agent provider to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_agent_skill(compat_skill: AgentSkill) AgentSkill¶
Convert agent skill to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_artifact(compat_artifact: Artifact) Artifact¶
Convert artifact to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_authentication_info(compat_auth: PushNotificationAuthenticationInfo) AuthenticationInfo¶
Convert authentication info to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_cancel_task_request(compat_req: CancelTaskRequest) CancelTaskRequest¶
Convert cancel task request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_create_task_push_notification_config_request(compat_req: SetTaskPushNotificationConfigRequest) TaskPushNotificationConfig¶
Convert create task push notification config request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_delete_task_push_notification_config_request(compat_req: DeleteTaskPushNotificationConfigRequest) DeleteTaskPushNotificationConfigRequest¶
Convert delete task push notification config request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_get_extended_agent_card_request(compat_req: GetAuthenticatedExtendedCardRequest) GetExtendedAgentCardRequest¶
Convert get extended agent card request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_get_task_push_notification_config_request(compat_req: GetTaskPushNotificationConfigRequest) GetTaskPushNotificationConfigRequest¶
Convert get task push notification config request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_get_task_request(compat_req: GetTaskRequest) GetTaskRequest¶
Convert get task request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_list_task_push_notification_config_request(compat_req: ListTaskPushNotificationConfigRequest) ListTaskPushNotificationConfigsRequest¶
Convert list task push notification config request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_list_task_push_notification_config_response(compat_res: ListTaskPushNotificationConfigResponse) ListTaskPushNotificationConfigsResponse¶
Convert list task push notification config response to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_message(compat_msg: Message) Message¶
Convert message to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_oauth_flows(compat_flows: OAuthFlows) OAuthFlows¶
Convert oauth flows to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_part(compat_part: Part) Part¶
Converts a v0.3 Part (Pydantic model) to a v1.0 core Part (Protobuf object).
- a2a.compat.v0_3.conversions.to_core_push_notification_config(compat_config: PushNotificationConfig) TaskPushNotificationConfig¶
Convert push notification config to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_security_requirement(compat_req: dict[str, list[str]]) SecurityRequirement¶
Convert security requirement to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_security_scheme(compat_scheme: SecurityScheme) SecurityScheme¶
Convert security scheme to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_send_message_configuration(compat_config: MessageSendConfiguration) SendMessageConfiguration¶
Convert send message configuration to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_send_message_request(compat_req: SendMessageRequest) SendMessageRequest¶
Convert send message request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_send_message_response(compat_res: SendMessageResponse) SendMessageResponse¶
Convert send message response to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_stream_response(compat_res: SendStreamingMessageSuccessResponse) StreamResponse¶
Convert stream response to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_subscribe_to_task_request(compat_req: TaskResubscriptionRequest) SubscribeToTaskRequest¶
Convert subscribe to task request to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_task_artifact_update_event(compat_event: TaskArtifactUpdateEvent) TaskArtifactUpdateEvent¶
Convert task artifact update event to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_task_push_notification_config(compat_config: TaskPushNotificationConfig) TaskPushNotificationConfig¶
Convert task push notification config to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_task_status(compat_status: TaskStatus) TaskStatus¶
Convert task status to v1.0 core type.
- a2a.compat.v0_3.conversions.to_core_task_status_update_event(compat_event: TaskStatusUpdateEvent) TaskStatusUpdateEvent¶
Convert task status update event to v1.0 core type.