From ed2ce2d1ca157eb9a54613add63c154eb351b377 Mon Sep 17 00:00:00 2001 From: Tobias Klockau Date: Fri, 20 Oct 2023 15:14:33 +0200 Subject: [PATCH] fix: python 3.8 compatibility - set typing --- .../_onthology_classes/_attributes/_multi_select_attribute.py | 2 +- .../_onthology_classes/_attributes/_single_select_attribute.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_multi_select_attribute.py b/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_multi_select_attribute.py index 68faa59..5805194 100644 --- a/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_multi_select_attribute.py +++ b/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_multi_select_attribute.py @@ -10,7 +10,7 @@ @dataclass class _MultiSelectAttribute(_Attribute): - options: set[str] + options: t.Set[str] @classmethod def supports(cls, data_dict: dict): diff --git a/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_single_select_attribute.py b/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_single_select_attribute.py index ecf5c2a..7ce4309 100644 --- a/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_single_select_attribute.py +++ b/raillabel_providerkit/validation/validate_onthology/_onthology_classes/_attributes/_single_select_attribute.py @@ -10,7 +10,7 @@ @dataclass class _SingleSelectAttribute(_Attribute): - options: set[str] + options: t.Set[str] @classmethod def supports(cls, data_dict: dict):