From def1900e2228adb0559de5fcda8b5ef05ca07d17 Mon Sep 17 00:00:00 2001 From: Marko Ristin Date: Tue, 7 Nov 2023 12:41:31 +0100 Subject: [PATCH] Fix `assert_never` import in JSON-LD generator (#417) We import `assert_never` from `common` module for compatibility with other Python versions. --- aas_core_codegen/jsonld/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aas_core_codegen/jsonld/main.py b/aas_core_codegen/jsonld/main.py index 7160c0709..577c91eaf 100644 --- a/aas_core_codegen/jsonld/main.py +++ b/aas_core_codegen/jsonld/main.py @@ -27,14 +27,13 @@ ) from icontract import require -from typing_extensions import assert_never from aas_core_codegen import ( naming, intermediate, run, ) -from aas_core_codegen.common import Error, Stripped, Identifier +from aas_core_codegen.common import Error, Stripped, Identifier, assert_never from aas_core_codegen.rdf_shacl import ( naming as rdf_shacl_naming, common as rdf_shacl_common,