(text: str)
| 567 | with ThreadPoolExecutor(max_workers=workers) as executor: |
| 568 | batch_results = list(executor.map(embed_one_batch, batches)) |
| 569 | else: |
| 570 | batch_results = [embed_one_batch(batch) for batch in batches] |
| 571 | |
| 572 | for pairs in batch_results: |
| 573 | for index, embedding in pairs: |
nothing calls this directly
no test coverage detected