The following native FastDepends sometimes failures and reproduces the problem above
from fast_depends import inject
from fast_depends.library import CustomField
@inject
def func(
b: int = CustomField(),
a: int = CustomField(),
):
assert b == 2
assert a == 1
func(2, 1)
Source Issue: https://github.com/airtai/faststream/issues/1558
The following native FastDepends sometimes failures and reproduces the problem above