From b6f5bbc876d22f18a1194eb45708e3f47dfcd122 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Tue, 15 Sep 2026 20:18:31 +0300 Subject: [PATCH] docs(typer): fetch_di_container no longer reads ctx.obj Matches modern-python/modern-di-typer#48. --- docs/integrations/typer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/typer.md b/docs/integrations/typer.md index 09ad162..4e0d5ee 100644 --- a/docs/integrations/typer.md +++ b/docs/integrations/typer.md @@ -121,4 +121,4 @@ def run_job( | `setup_di(app, container)` | Register the app-scoped container with a Typer app | | `@inject` | Decorator that resolves `FromDI`-annotated parameters before the command runs | | `FromDI(provider_or_type)` | Marker for `Annotated[T, FromDI(...)]`; accepts a provider instance or a plain type | -| `fetch_di_container(ctx)` | Returns the app-scoped container from `ctx.obj` | +| `fetch_di_container(ctx)` | Returns the app-scoped container registered by `setup_di`, from any command including those of nested `add_typer` sub-apps; does not read `ctx.obj` |