Commit 5333d19b authored by Fabien Amarger's avatar Fabien Amarger
Browse files

fix(app): Define ETYPE_URI as local variable

parent 8701157f6aa4
......@@ -17,7 +17,6 @@
)
ETYPE_URI = {}
LITERAL_TYPES_TO_YAMS_TYPES = {
RDFS.Literal: "String",
XSD.string: "String",
......@@ -54,6 +53,7 @@
def owl_model_to_yams(owl_model: Graph, instance_name: str) -> Schema:
ETYPE_URI = {}
# 0. Create a new YAMS Schema
schema = Schema(instance_name)
register_base_types(schema)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment