Skip to content
New issue

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

allow dict as parameters #9

Open
hazbottles opened this issue Aug 17, 2023 · 0 comments · May be fixed by #14
Open

allow dict as parameters #9

hazbottles opened this issue Aug 17, 2023 · 0 comments · May be fixed by #14

Comments

@hazbottles
Copy link
Owner

hazbottles commented Aug 17, 2023

@flonb.task_func
def my_task(a):
    print(a)

my_task.compute(a={"bananas": 2})  # throws an error


@flonb.task_func
def my_task2(res=flonb.Dep({"my_task": my_task}):
    print res
    
my_task2.compute(a=2)  # throws an error

@hazbottles hazbottles linked a pull request Jul 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant