Commit 6fd6b70
committed
docs: fix InMemoryTaskStore import path in experimental tasks docs
The docs import InMemoryTaskStore from the package root:
from mcp.shared.experimental.tasks import InMemoryTaskStore
but the class is not re-exported there, so this raises ImportError. The
package __init__ explicitly directs callers to import from the submodule,
and all library code and tests use:
from mcp.shared.experimental.tasks.in_memory_task_store import InMemoryTaskStore
Update both doc snippets (tasks.md, tasks-client.md) to the working path.
Signed-off-by: Vidit Patankar <vidit.patankar16@gmail.com>1 parent 616476f commit 6fd6b70
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments