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

pipeline.draw() does not show user-provided value to variadic input #8656

Open
1 task done
Willenbrink opened this issue Dec 18, 2024 · 0 comments
Open
1 task done
Labels
P2 Medium priority, add to the next sprint if no P1 available

Comments

@Willenbrink
Copy link

Describe the bug
Providing run with a value to a variadic input, e.g. a branchJoiner, is not shown by pipeline.draw().

Additional context
As a result, the branchJoiner that should sit at the top of the pipeline is instead shown at the very bottom, making the structure a bit confusing.
This is probably intentional for optional inputs but variadic inputs should be handled separately IMHO as they are relevant to the control flow.

To Reproduce

  • Create a pipeline with a loop using branchJoiner
  • Provide it with a value through a connection and through run({"branchJoiner": { "value": value}})
  • Call pipeline.draw()
  • See the node appearing at the bottom of the pipeline instead of at the top. The user provided input, normally shown with a star, does not point to the branchJoiner node.

FAQ Check

System:

  • OS: Linux
  • Haystack version (commit or version number): 2.7.0
@julian-risch julian-risch added the P2 Medium priority, add to the next sprint if no P1 available label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 Medium priority, add to the next sprint if no P1 available
Projects
None yet
Development

No branches or pull requests

2 participants