Skip to content

Commit

Permalink
Update schema.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyuba Zehl committed Jun 30, 2023
1 parent 002146c commit 99b6e61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 99b6e61

Please sign in to comment.