Fast-depends

Latest version: v2.4.12

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

Scan your dependencies

Page 2 of 5

2.4.6

What's Changed

* fix (112): correct CustomFields mapping to positional args by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/113

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.4.5...2.4.6

2.4.5

What's Changed

Now `CustomField` respects function default value at `required=False` case

python
from typing_extensions import Annotated

from fast_depends import inject
from fast_depends.library import CustomField

inject
def func(
a: Annotated[int, CustomField(cast=False, required=False)] = 1
):
assert a == 1 `a` was `None` before

func()


* build(deps): bump dawidd6/action-download-artifact from 3.1.4 to 5 by dependabot in https://github.com/Lancetnik/FastDepends/pull/101
* fix: respect default with custom by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/111


**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.4.4...2.4.5

2.4.4

What's Changed

* Use globals of original(wrapped) function by yuyupopo in https://github.com/Lancetnik/FastDepends/pull/97
* fix: correct `Annotated[..., CustomField()]` reusage
* chore: bump dependencies by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/100

New Contributors
* yuyupopo made their first contribution in https://github.com/Lancetnik/FastDepends/pull/97

**Full Changelog**: https://github.com/Lancetnik/FastDepends/compare/2.4.3...2.4.4

2.4.3

What's Changed

* fix: fix 4.12.0 typing extensions error with pydantic by Lancetnik in https://github.com/Lancetnik/FastDepends/pull/93

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

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

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.