pull/167/head
Taro Kawazoe 5 years ago
parent a697c916be
commit 1e0f18024f

@ -50,8 +50,7 @@ def gen_apidoc(pvd: str, typ_paths: dict) -> str:
return name return name
typ_classes = {} typ_classes = {}
sorted_typ_paths = sorted(typ_paths.items(), key=lambda x:x[0]) for typ, paths in sorted(typ_paths.items()):
for typ, paths in sorted_typ_paths:
typ_classes[typ] = [] typ_classes[typ] = []
for name in map(_gen_class_name, paths): for name in map(_gen_class_name, paths):
alias = cfg.ALIASES[pvd].get(typ, {}).get(name) alias = cfg.ALIASES[pvd].get(typ, {}).get(name)

Loading…
Cancel
Save