diff --git a/templating/internal/units.py b/templating/internal/units.py index be669ea7..5d387c99 100644 --- a/templating/internal/units.py +++ b/templating/internal/units.py @@ -46,7 +46,6 @@ def _load_schemas(): format_for_obj(obj.get("items")) ] - enum_text = "" # add on enum info enum = obj.get("enum") @@ -100,19 +99,14 @@ def _load_schemas(): schema["required_keys"] = prop( json_schema, "properties/content/required" ) - - - schemata[filename] = schema return schemata - UNIT_DICT = { "event-examples": _load_examples, "event-schemas": _load_schemas } - def load(): store = AccessKeyStore() for unit_key in UNIT_DICT: