Skip to content

Commit

Permalink
Fix assert_never import in JSON-LD generator (#417)
Browse files Browse the repository at this point in the history
We import `assert_never` from `common` module for compatibility with
other Python versions.
  • Loading branch information
mristin authored Nov 7, 2023
1 parent 566b079 commit def1900
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aas_core_codegen/jsonld/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit def1900

Please sign in to comment.