From 7e6ce939c9591e8b9465544c662192c01bed3512 Mon Sep 17 00:00:00 2001 From: Jylpah Date: Fri, 24 May 2024 19:55:11 +0300 Subject: [PATCH 1/2] TankStat.backend_indexes(): del region, account_id,tank_id,lbt idx --- src/blitzmodels/wg_api.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/blitzmodels/wg_api.py b/src/blitzmodels/wg_api.py index f7dfb36..9bdb837 100644 --- a/src/blitzmodels/wg_api.py +++ b/src/blitzmodels/wg_api.py @@ -216,14 +216,14 @@ def indexes(self) -> dict[str, Idx]: @classmethod def backend_indexes(cls) -> list[list[tuple[str, IndexSortOrder]]]: indexes: list[list[BackendIndex]] = list() - indexes.append( - [ - ("region", ASCENDING), - ("account_id", ASCENDING), - ("tank_id", ASCENDING), - ("last_battle_time", DESCENDING), - ] - ) + # indexes.append( + # [ + # ("region", ASCENDING), + # ("account_id", ASCENDING), + # ("tank_id", ASCENDING), + # ("last_battle_time", DESCENDING), + # ] + # ) indexes.append( [ ("region", ASCENDING), From c92df7d96cffb0ed2b3a336b6fb599ef52848d5f Mon Sep 17 00:00:00 2001 From: Jylpah Date: Fri, 24 May 2024 19:56:44 +0300 Subject: [PATCH 2/2] version 1.2.21 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bb960bd..5bd4966 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "blitz-models" -version = "1.2.20" +version = "1.2.21" authors = [{ name = "Jylpah", email = "jylpah@gmail.com" }] description = "Pydantic models for Wargaming's World of Tanks Blitz game " readme = "README.md"