fix-pyright

This commit is contained in:
Gal Shubeli 2025-08-06 17:51:57 +03:00
parent f2824fbabd
commit 59b7bf43c3
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ async def semaphore_gather(
return await asyncio.gather(*(_wrap_coroutine(coroutine) for coroutine in coroutines)) return await asyncio.gather(*(_wrap_coroutine(coroutine) for coroutine in coroutines))
def validate_group_id(group_id: str) -> bool: def validate_group_id(group_id: str | None) -> bool:
""" """
Validate that a group_id contains only ASCII alphanumeric characters, dashes, and underscores. Validate that a group_id contains only ASCII alphanumeric characters, dashes, and underscores.

View file

@ -49,9 +49,9 @@ async def build_indices_and_constraints(driver: GraphDriver, delete_existing: bo
) )
range_indices: list[LiteralString] = get_range_indices(driver.provider) range_indices: list[LiteralString] = get_range_indices(driver.provider)
fulltext_indices: list[LiteralString] = get_fulltext_indices(driver.provider) fulltext_indices: list[str] = get_fulltext_indices(driver.provider)
index_queries: list[LiteralString] = range_indices + fulltext_indices index_queries: list[str] = range_indices + fulltext_indices
await semaphore_gather( await semaphore_gather(
*[ *[