a2a.utils.constants module

Constants for well-known URIs used throughout the A2A Python SDK.

a2a.utils.constants.DEFAULT_LIST_TASKS_PAGE_SIZE = 50

Default page size for the tasks/list method.

a2a.utils.constants.MAX_LIST_TASKS_PAGE_SIZE = 100

Maximum page size for the tasks/list method.

class a2a.utils.constants.TransportProtocol(*values)

Bases: str, Enum

Transport protocol string constants.

GRPC = 'GRPC'
HTTP_JSON = 'HTTP+JSON'
JSONRPC = 'JSONRPC'