di¶
- litestar.di.NamedDependency¶
Mark a parameter for name-based dependency injection.
The name of the function parameter will be used as the name for the dependency to inject.
alias of
Annotated[T, <litestar.di.Dependency object at 0x7efc1dc719a0>]