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

Return dict when computing multiple results #27

Closed
SimonHeybrock opened this issue Jul 26, 2023 · 0 comments · Fixed by #44
Closed

Return dict when computing multiple results #27

SimonHeybrock opened this issue Jul 26, 2023 · 0 comments · Fixed by #44
Assignees

Comments

@SimonHeybrock
Copy link
Member

SimonHeybrock commented Jul 26, 2023

I have to correct myself here: If we use an alias via NewType or Scope then the instance we get as a result does not have that info. Therefore, I think you are right and we should return a dict.

Originally posted by @SimonHeybrock in #16 (comment)

# Now
result = pipeline.compute((IofQ, RawData))
result[1]
# Then?
result = pipeline.compute_dict((IofQ, RawData))
result[RawData]
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.

2 participants