This commit is contained in:
DingZQ
2023-05-07 11:06:04 +08:00
parent a44f3cd18c
commit eda4c79cfb
2 changed files with 273 additions and 73 deletions

View File

@@ -1353,7 +1353,7 @@ async def fastapi_get_all_vertex_links(network: str) -> list[str]:
return json.dumps(get_all_vertex_links(network))
@app.get('/getallvertices/', response_class = PlainTextResponse)
async def get_all_vertices(network: str) -> list[dict[str, Any]]:
async def fastapi_get_all_vertices(network: str) -> list[dict[str, Any]]:
return json.dumps(get_all_vertices(network))
############################################################

File diff suppressed because it is too large Load Diff