mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-19 09:54:09 +01:00
Whitespace
This commit is contained in:
parent
c61223fb27
commit
1a65c051e8
|
|
@ -46,7 +46,6 @@ def _load_schemas():
|
||||||
format_for_obj(obj.get("items"))
|
format_for_obj(obj.get("items"))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
enum_text = ""
|
enum_text = ""
|
||||||
# add on enum info
|
# add on enum info
|
||||||
enum = obj.get("enum")
|
enum = obj.get("enum")
|
||||||
|
|
@ -100,19 +99,14 @@ def _load_schemas():
|
||||||
schema["required_keys"] = prop(
|
schema["required_keys"] = prop(
|
||||||
json_schema, "properties/content/required"
|
json_schema, "properties/content/required"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
schemata[filename] = schema
|
schemata[filename] = schema
|
||||||
return schemata
|
return schemata
|
||||||
|
|
||||||
|
|
||||||
UNIT_DICT = {
|
UNIT_DICT = {
|
||||||
"event-examples": _load_examples,
|
"event-examples": _load_examples,
|
||||||
"event-schemas": _load_schemas
|
"event-schemas": _load_schemas
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def load():
|
def load():
|
||||||
store = AccessKeyStore()
|
store = AccessKeyStore()
|
||||||
for unit_key in UNIT_DICT:
|
for unit_key in UNIT_DICT:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue