diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-03-22 01:31:27 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-03-22 01:31:27 +0100 |
| commit | cc4ba3b063f14943579ffbfe416828590f70ae0a (patch) | |
| tree | af2127920fb57603206ca670beb63b5d58650fb8 /src_py/hatter/common.py | |
| parent | c594b1fca854a7b9fb73d854a9830143cd1032fc (diff) | |
WIP major rewrite
Diffstat (limited to 'src_py/hatter/common.py')
| -rw-r--r-- | src_py/hatter/common.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src_py/hatter/common.py b/src_py/hatter/common.py new file mode 100644 index 0000000..cf99bb9 --- /dev/null +++ b/src_py/hatter/common.py @@ -0,0 +1,10 @@ +from pathlib import Path + +from hat import json + + +package_path: Path = Path(__file__).parent + +json_schema_repo: json.SchemaRepository = json.SchemaRepository( + json.json_schema_repo, + json.SchemaRepository.from_json(package_path / 'json_schema_repo.json')) |
