diff --git a/pipeline/schema.py b/pipeline/schema.py index 90586cd4..0332b7d9 100644 --- a/pipeline/schema.py +++ b/pipeline/schema.py @@ -11,6 +11,7 @@ def __init__(self, schema_file_path:str, root_path:str, relative_path_by_schema: _relative_path_without_extension = schema_file_path[len(root_path)+1:].replace(".schema.omi.json", "").split("/") self.version = _relative_path_without_extension[0] self.relative_path_without_extension = _relative_path_without_extension[1:] + self.relative_path_by_schema = relative_path_by_schema with open(schema_file_path, "r") as schema_f: self._schema_payload = json.load(schema_f)