Skip to content

Commit c84f64a

Browse files
Potential fix for pull request finding 'Module is imported more than once'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> Signed-off-by: Adam Poulemanos <89049923+bashandbone@users.noreply.github.com>
1 parent 56464ca commit c84f64a

File tree

1 file changed

+0
-1
lines changed
  • src/codeweaver/providers/embedding/providers

1 file changed

+0
-1
lines changed

src/codeweaver/providers/embedding/providers/base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ async def embed_documents( # noqa: C901
518518
] = []
519519

520520
# Yield after CPU-bound token batching to prevent event loop blocking
521-
import asyncio
522521
await asyncio.sleep(0)
523522

524523
for batch_idx, token_batch in enumerate(token_batches):

0 commit comments

Comments
 (0)