Commit 83ebe73
authored
[1/3] sdks/python: refactor Milvus-related utilities as preparation step for Milvus Sink I/O integration (#35708)
* sdks/python: replace the deprecated testcontainer max tries
* sdks/python: handle transient testcontainer startup/teardown errors
* sdks/python: bump `testcontainers` py pkg version
* sdks/python: integrate milvus sink I/O
* sdks/python: fix linting issues
* sdks/python: add missing apache beam liscense header for `test_utils.py`
* notebooks/beam-ml: use new refactored code in milvus enrichment handler
* CHANGES.md: update release notes
* sdks/python: mark milvus itests with `require_docker_in_docker` marker
* sdks/python: override milvus db version with the default
* sdsk/python: add missing import in rag utils
* sdks/python: fix linting issue
* rag/ingestion/milvus_search_itest.py: ensure flushing in-memory data before querying
* sdks/python: fix linting issues
* sdks/python: fix formatting issues
* sdks/python: fix arising linting issue
* rag: reuse `retry_with_backoff` for one-time setup operations
* sdks/python: fix linting issues
* sdks/python: fix py docs CI issue
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* sdks/python: isolate milvus sink integration to be in follow-up PR
* CHANGES.md: remove milvus from release notes in the refactoring PR
* sdks/python: remove `with_sparse_embedding_spec` column specs builder
In this commit, we remove that builder method to remain functional
and be used in the next Milvus sink integration PR
* sdks/python: fix linting issues
* Revert "notebooks/beam-ml: use new refactored code in milvus enrichment handler"
This reverts commit 461c8fe.
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* CI: fix import errors in CI
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* sdks/python: fix linting issues
* sdks/python: fix linting issues1 parent 4a59cb7 commit 83ebe73
File tree
6 files changed
+759
-556
lines changed- sdks/python/apache_beam
- examples/snippets/transforms/elementwise
- ml/rag
- enrichment
- ingestion
6 files changed
+759
-556
lines changedLines changed: 33 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
62 | 60 | | |
63 | 61 | | |
64 | 62 | | |
| |||
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
189 | | - | |
| 192 | + | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
| |||
199 | 202 | | |
200 | 203 | | |
201 | 204 | | |
202 | | - | |
| 205 | + | |
203 | 206 | | |
204 | 207 | | |
205 | 208 | | |
| |||
212 | 215 | | |
213 | 216 | | |
214 | 217 | | |
215 | | - | |
| 218 | + | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| |||
226 | 229 | | |
227 | 230 | | |
228 | 231 | | |
229 | | - | |
230 | | - | |
| 232 | + | |
| 233 | + | |
231 | 234 | | |
232 | 235 | | |
233 | 236 | | |
| |||
257 | 260 | | |
258 | 261 | | |
259 | 262 | | |
260 | | - | |
| 263 | + | |
261 | 264 | | |
262 | 265 | | |
263 | 266 | | |
| |||
370 | 373 | | |
371 | 374 | | |
372 | 375 | | |
373 | | - | |
| 376 | + | |
374 | 377 | | |
375 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
376 | 387 | | |
377 | 388 | | |
378 | 389 | | |
379 | 390 | | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
402 | | - | |
403 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
404 | 410 | | |
405 | 411 | | |
406 | 412 | | |
| |||
Lines changed: 38 additions & 95 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
104 | 109 | | |
105 | 110 | | |
106 | 111 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 112 | | |
146 | 113 | | |
147 | 114 | | |
| |||
361 | 328 | | |
362 | 329 | | |
363 | 330 | | |
364 | | - | |
| 331 | + | |
365 | 332 | | |
366 | 333 | | |
367 | 334 | | |
368 | 335 | | |
369 | 336 | | |
370 | 337 | | |
371 | 338 | | |
372 | | - | |
| 339 | + | |
373 | 340 | | |
374 | 341 | | |
375 | 342 | | |
| |||
407 | 374 | | |
408 | 375 | | |
409 | 376 | | |
| 377 | + | |
410 | 378 | | |
411 | 379 | | |
412 | 380 | | |
413 | 381 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
435 | 401 | | |
436 | 402 | | |
437 | 403 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
456 | 414 | | |
457 | 415 | | |
458 | 416 | | |
| |||
535 | 493 | | |
536 | 494 | | |
537 | 495 | | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
| 496 | + | |
542 | 497 | | |
543 | 498 | | |
544 | 499 | | |
| |||
628 | 583 | | |
629 | 584 | | |
630 | 585 | | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
0 commit comments