From 89e3d673f0ea2cb4188e6deb7f209aacb2f59f05 Mon Sep 17 00:00:00 2001 From: Curtis Bangert Date: Thu, 28 Sep 2023 17:01:37 -0400 Subject: [PATCH] clean up linter violation for Tuple --- dbt_semantic_interfaces/parsing/schemas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt_semantic_interfaces/parsing/schemas.py b/dbt_semantic_interfaces/parsing/schemas.py index b49c378b..3ba4c558 100644 --- a/dbt_semantic_interfaces/parsing/schemas.py +++ b/dbt_semantic_interfaces/parsing/schemas.py @@ -1,4 +1,4 @@ -from typing import List +from typing import List, Tuple from referencing import Registry, Resource from referencing.jsonschema import DRAFT7 @@ -340,7 +340,7 @@ time_spine_table_configuration_schema["$id"]: time_spine_table_configuration_schema, } -resources: List[tuple[str, Resource]] = [(str(k), DRAFT7.create_resource(v)) for k, v in schema_store.items()] +resources: List[Tuple[str, Resource]] = [(str(k), DRAFT7.create_resource(v)) for k, v in schema_store.items()] registry: Registry = Registry().with_resources(resources) semantic_model_validator = SchemaValidator(semantic_model_schema, registry=registry) metric_validator = SchemaValidator(metric_schema, registry=registry)