Fast-depends

Latest version: v2.4.2

Safety actively analyzes 623360 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.4.2

What's Changed
* build(deps): bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2 by dependabot in https://github.com/Lancetnik/FastDepends/pull/74
* fix (75): correct main empty body processing by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/76


**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.4.1...2.4.2

2.4.1

What's Changed

* chore: remove optional dependencies, fix typos by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/73

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.4.0...2.4.1

2.4.0

Waiting for FastStream update to release stable version

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.3.1...0.2.4b0

2.3.1

Correct `model.flat_params` calculation

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.3.0...2.3.1

2.3.0

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

2.2.8

Restore `fast_depends._compat.CreateBaseModel` to save **FastStream**<0.3.7 compatibility

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.2.7...2.2.8

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.