-
Notifications
You must be signed in to change notification settings - Fork 2k
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 components reconnection issue #6359
Comments
We could decide to not raise an error if a user adds a connection that already exists exactly like that. For example, |
I understand better now why re-initalizing the pipeline doesn't work, thanks @julian-risch 🙌 However, if reusing components in different pipelines is not possible, the better error message would be the one you shared, explaining these components are connected in a different pipeline |
Is this issue being worked on? The challenges will see people try out code cells and re-run them. It's not ideal to be stuck with an error and having to restart runtime.. |
From the first user interview it becomes very clear developing connections in colab is incredibly hard with this issue. |
Describe the bug
Connecting components again raises an error.
Error message
Expected behavior
As a user, I expect this error to disappear when re-initializing the pipeline object. However, I need to reinitialize every component in the pipeline to resolve this error. Possible solutions:
Additional context
This is a problem when users make a connection mistake in their pipeline I/O and need to call
.connect()
again or when they want to use the same component in different pipelines e.g., using MetadataRouter in indexing and query pipeline.To Reproduce
Colab notebook: https://colab.research.google.com/drive/1XiG5UWR9dDsu46zHv7o9pXJ_Uxih60sY?usp=sharing
FAQ Check
System:
The text was updated successfully, but these errors were encountered: