We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import flonb @flonb.task_func def add(a, b): return a + b @flonb.task_func def multiply(a, b): return a * b @flonb.task_func def my_calc( added=flonb.Dep(add), multiplied=flonb.DynamicDep(lambda x, y: multiply.partial(a=x, b=y)), ): return added, multiply >>> my_calc.compute(a=1, b=2, x=4, y=5) ValueError: Options ['a', 'b'] have already been pre-supplied to 'multiply'.
This should pass, mutliply.partial(a=x, b=y) should ignore the higher level a=1, b=2 values.
mutliply.partial(a=x, b=y)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This should pass,
mutliply.partial(a=x, b=y)
should ignore the higher level a=1, b=2 values.The text was updated successfully, but these errors were encountered: