Refine
This commit is contained in:
4
main.py
4
main.py
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user