Add explicit return for consistency

Added back the return statement in insert_chunks for consistency with the
document_id property pattern where None is explicitly returned.
This commit is contained in:
skamenan7 2025-10-07 13:30:10 -04:00
parent 3be1479bec
commit fb4dfef14d

View file

@ -107,7 +107,7 @@ class VectorIORouter(VectorIO):
f"ttl_seconds={ttl_seconds}, chunk_ids={doc_ids}{' and more...' if len(chunks) > 3 else ''}"
)
provider = await self.routing_table.get_provider_impl(vector_db_id)
await provider.insert_chunks(vector_db_id, chunks, ttl_seconds)
return await provider.insert_chunks(vector_db_id, chunks, ttl_seconds)
async def query_chunks(
self,