openapi in readthedocs

This commit is contained in:
Xi Yan 2024-11-22 17:24:03 -08:00
parent dbd4b9ecce
commit 3a40a2b483
3 changed files with 41 additions and 41 deletions

View file

@ -443,7 +443,7 @@ class Generator:
"PostTraining",
"BatchInference",
]:
op.defining_class.__name__ = f"(Coming Soon) {op.defining_class.__name__}"
op.defining_class.__name__ = f"{op.defining_class.__name__} (Coming Soon)"
print(op.defining_class.__name__)
doc_string = parse_type(op.func_ref)