Commit e7d7ecd
committed
docs: clarify auto-variadic socket input ordering in connect()
Document the input ordering behavior of auto-promoted lazy variadic
sockets in Pipeline.connect() and PipelineBase._make_socket_auto_variadic().
When multiple senders are connected to the same list-typed receiver
socket, the items in the resulting list are ordered alphabetically by
sender component name (because Pipeline.run() schedules components in
alphabetical order for deterministic execution), not by the order in
which connect() was called.
The docstrings now point users to a dedicated joiner component when
they need explicit ordering.
fixes #109791 parent 91fbd7b commit e7d7ecd
File tree
2 files changed
+26
-0
lines changed- haystack/core/pipeline
- releasenotes/notes
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
449 | 456 | | |
450 | 457 | | |
451 | 458 | | |
| |||
956 | 963 | | |
957 | 964 | | |
958 | 965 | | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
959 | 975 | | |
960 | 976 | | |
961 | 977 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments