Skip to content

docs: fix Tutorial 8 AgentExecutor import path - #1884

Merged
holtskinner merged 2 commits into
a2aproject:mainfrom
jschoemaker:patch-1
Jun 2, 2026
Merged

docs: fix Tutorial 8 AgentExecutor import path#1884
holtskinner merged 2 commits into
a2aproject:mainfrom
jschoemaker:patch-1

Conversation

@jschoemaker

Copy link
Copy Markdown
Contributor

Summary

  • Tutorial 8 referenced a2a.server.AgentExecutor, which raises ImportError — the SDK only exposes the class at a2a.server.agent_execution.AgentExecutor (the full path Tutorial 4 already uses).
  • Updates Tutorial 8 to use the working full path, matching Tutorial 4.

Fixes #1854.

  - Tutorial 8 referenced `a2a.server.AgentExecutor`, which raises `ImportError` — the SDK only exposes the class at
  `a2a.server.agent_execution.AgentExecutor` (the full path Tutorial 4 already uses).
  - Updates Tutorial 8 to use the working full path, matching Tutorial 4.

  Fixes a2aproject#1854.
@jschoemaker
jschoemaker requested a review from a team as a code owner May 27, 2026 16:36

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Python tutorial documentation to correct the import path of the AgentExecutor interface from a2a.server.AgentExecutor to a2a.server.agent_execution.AgentExecutor. No review comments were provided for this change.

@jschoemaker
jschoemaker requested review from a team as code owners June 2, 2026 16:28
@holtskinner
holtskinner merged commit 663a7e5 into a2aproject:main Jun 2, 2026
6 checks passed
@jschoemaker
jschoemaker deleted the patch-1 branch June 2, 2026 19:12
chopmob-cloud pushed a commit to chopmob-cloud/A2A that referenced this pull request Aug 4, 2026
## Summary
- Tutorial 8 referenced `a2a.server.AgentExecutor`, which raises
`ImportError` — the SDK only exposes the class at
`a2a.server.agent_execution.AgentExecutor` (the full path Tutorial 4
already uses).
- Updates Tutorial 8 to use the working full path, matching Tutorial 4.

  Fixes a2aproject#1854.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tutorial 8 says a2a.server.AgentExecutor, but that import raises ImportError

2 participants