Skip to content

0.35.0

Latest
Compare
Choose a tag to compare
@ThirVondukr ThirVondukr released this 17 Sep 07:59
· 1 commit to main since this release

Injected annotation

It's now possible to use Injected[T] instead of Annotated[Inject, T] to mark functions parameters for injection (by @nrbnlulu):

@inject
def function(
    parameter: Injected[Class],
) -> None:
    ...