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

[bug] Dependencies are not recognised in dictionaries #484

Open
jan-janssen opened this issue Nov 9, 2024 · 1 comment
Open

[bug] Dependencies are not recognised in dictionaries #484

jan-janssen opened this issue Nov 9, 2024 · 1 comment

Comments

@jan-janssen
Copy link
Member

Ideally they should be recognized in any datatype that supports iteration.

@jan-janssen
Copy link
Member Author

At least lists work:

from executorlib import Executor

with Executor(backend="local") as exe:
    fs = exe.submit(sum, [exe.submit(sum, [i, i]) for i in range(3)])
    print(fs.result())

@jan-janssen jan-janssen changed the title [bug] Dependencies are not recognised in lists or dictionaries [bug] Dependencies are not recognised in dictionaries Dec 24, 2024
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

No branches or pull requests

1 participant