From af149a212b0f243d3b72a5511e78507a5fd5488f Mon Sep 17 00:00:00 2001 From: teplyakov <teolyakov@perx.ru> Date: Wed, 19 Feb 2025 15:19:08 +0300 Subject: [PATCH] feat: AUTO-3805 Update version --- perxis/collections/helpers.py | 9 ++++++++- setup.py | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/perxis/collections/helpers.py b/perxis/collections/helpers.py index 33aeb71..44c99f8 100644 --- a/perxis/collections/helpers.py +++ b/perxis/collections/helpers.py @@ -22,10 +22,17 @@ def make_collection_instances( return collections +class CollectionProps(TypedDict): + single: bool + system: bool + no_data: bool + hidden: bool + + def init_collections( schemes_dir: str, schemes_mapping: dict[str, str], - collections_settings_mapping: dict[str, TypedDict], + collections_settings_mapping: dict[str, CollectionProps], ) -> list[collections_pb2.Collection]: collections = [] diff --git a/setup.py b/setup.py index 210545e..84d4659 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ def load_requirements(): setup( name='perxis', - version='1.7.3', + version='1.8.0', description='Perxis python client', long_description=long_description, long_description_content_type='text/markdown', -- GitLab