Skip to content

Commit 46a3116

Browse files
committed
format
1 parent 5fca9bf commit 46a3116

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backend/btrixcloud/crawlconfigs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ async def get_crawl_config_tags(self, org):
983983
{"$match": {"oid": org.id}},
984984
{"$unwind": "$tags"},
985985
{"$group": {"_id": "$tags", "count": {"$sum": 1}}},
986-
{"$project": { "tag": "$_id", "count": "$count", "_id":0}},
987-
{"$sort": {"count": -1, "tag": 1} }
986+
{"$project": {"tag": "$_id", "count": "$count", "_id": 0}},
987+
{"$sort": {"count": -1, "tag": 1}},
988988
]
989989
).to_list()
990990
return tags

backend/btrixcloud/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ class CrawlConfigAddedResponse(BaseModel):
576576
storageQuotaReached: bool
577577
execMinutesQuotaReached: bool
578578

579+
579580
# ============================================================================
580581
class CrawlConfigTagCount(BaseModel):
581582
"""Response model for crawlconfig tag count"""

0 commit comments

Comments
 (0)