remove unused import

This commit is contained in:
prestonrasmussen 2025-05-15 10:12:31 -04:00
parent ca75decc5f
commit f096c8770c

View file

@ -18,7 +18,6 @@ import asyncio
import os import os
from collections.abc import Coroutine from collections.abc import Coroutine
from datetime import datetime from datetime import datetime
from typing import Any
import numpy as np import numpy as np
from dotenv import load_dotenv from dotenv import load_dotenv
@ -88,8 +87,8 @@ def normalize_l2(embedding: list[float]) -> NDArray:
# Use this instead of asyncio.gather() to bound coroutines # Use this instead of asyncio.gather() to bound coroutines
async def semaphore_gather( async def semaphore_gather(
*coroutines: Coroutine, *coroutines: Coroutine,
max_coroutines: int = SEMAPHORE_LIMIT, max_coroutines: int = SEMAPHORE_LIMIT,
): ):
semaphore = asyncio.Semaphore(max_coroutines) semaphore = asyncio.Semaphore(max_coroutines)