BaseExtensionServer[PlatformApiExtensionSpec, PlatformApiExtensionMetadata]
Class Attributes
| Attribute | Type | Default |
|---|---|---|
context_id | str | None | None |
Methods
async lifespan
Called when entering the agent context after the first message was parsed (__call__ was already called)
async lifespan
Called when entering the agent context after the first message was parsed (__call__ was already called)
Called when entering the agent context after the first message was parsed (call was already called)
Returns:
AsyncIterator[None] handle_incoming_message
handle_incoming_message
Parameters
| Name | Type | Default |
|---|---|---|
message | A2AMessage | — |
run_context | RunContext | — |
request_context | RequestContext | — |
async use_client
async use_client
Returns:
AsyncIterator[PlatformClient]async create_httpx_auth
async create_httpx_auth
Returns:
BearerAuth