From 41858f39d3f8458bc73c397b58460b329c2c1a8a Mon Sep 17 00:00:00 2001 From: Ferran Llamas Date: Fri, 16 Aug 2024 13:10:56 +0200 Subject: [PATCH] Dummy commit --- nucliadb/src/nucliadb/search/api/v1/knowledgebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nucliadb/src/nucliadb/search/api/v1/knowledgebox.py b/nucliadb/src/nucliadb/search/api/v1/knowledgebox.py index 964b810dea..25156f2f20 100644 --- a/nucliadb/src/nucliadb/search/api/v1/knowledgebox.py +++ b/nucliadb/src/nucliadb/search/api/v1/knowledgebox.py @@ -137,7 +137,7 @@ async def _kb_counters( async def get_resources_count(kbid: str, force_calculate: bool = False) -> int: async with datamanagers.with_ro_transaction() as txn: if force_calculate: - # for small kbs, this is faster and more up to date + # For small kbs, this is faster and more up to date resource_count = await datamanagers.resources.calculate_number_of_resources(txn, kbid=kbid) else: resource_count = await datamanagers.resources.get_number_of_resources(txn, kbid=kbid)