diff --git a/perxis/collections/helpers.py b/perxis/collections/helpers.py index 33aeb71909cd7826429274466f76898b77bf0c31..44c99f8dceef08f1ca76c0983638528370056bb0 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 210545e031b37284a61243f5301e122847727fa2..84d4659015bf46eb40ad3d806f2bb269d8af0557 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',