What's Changed
* Multiple `Annotated` arguments support:
python
from typing import Annotated
from annotated_types import Ge
from pydantic.functional_validators import AfterValidator
inject()
def f(a: Annotated[int, Ge(10), AfterValidator(lambda x: x + 10)]) -> int:
return a
assert f(10) == 20
* Support correct Generator annotation
python
inject
def simple_func(a: str) -> Iterator[int]:
for _ in range(2):
yield a
for i in simple_func("1"):
assert i == 1
* solve async dependencies without subdependencies in parallel tasks
* solve `CustomField` with async `use_field` in parallel
* build(deps-dev): bump ruff from 0.1.9 to 0.1.11 by dependabot in https://github.com/Lancetnik/FastDepends/pull/56
* get rid of protected objects by VitailOG in https://github.com/Lancetnik/FastDepends/pull/57
* feat: parallel dependencies resolving by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/58
New Contributors
* VitailOG made their first contribution in https://github.com/Lancetnik/FastDepends/pull/57
**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.2.8...2.3.0