Commit f782230
committed
feat: add output collection metadata and prevent attaching to output collections
- Add chroma:attached_function_id metadata when creating output collections
- Add check in AttachFunction to prevent attaching functions to output collections
- Add ErrCannotAttachToOutputCollection error1 parent edab0e1 commit f782230
3 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
161 | 171 | | |
162 | 172 | | |
163 | 173 | | |
| |||
574 | 584 | | |
575 | 585 | | |
576 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
577 | 592 | | |
578 | 593 | | |
579 | 594 | | |
580 | 595 | | |
581 | 596 | | |
582 | 597 | | |
583 | 598 | | |
584 | | - | |
| 599 | + | |
585 | 600 | | |
586 | 601 | | |
587 | 602 | | |
| |||
0 commit comments