This commit is contained in:
DingZQ
2023-04-07 22:39:42 +08:00
parent e59dac81ec
commit 29c70d2a48

View File

@@ -80,7 +80,9 @@ async def fastapi_import_inp(network: str, req: Request):
ps = { ps = {
"inp" : inp_text "inp" : inp_text
} }
return import_inp(network, ChangeSet(ps)) ret = import_inp(network, ChangeSet(ps))
print(ret)
return ret
@app.get("/exportinp/") @app.get("/exportinp/")
async def fastapi_export_inp(network: str) -> ChangeSet: async def fastapi_export_inp(network: str) -> ChangeSet: