Print props for addPattern

This commit is contained in:
DingZQ
2022-11-12 15:25:56 +08:00
parent 2bd17d6dd7
commit fe3345316a

View File

@@ -907,6 +907,9 @@ async def fast_get_pattern_schema(network: str) -> dict[str, dict[str, Any]]:
@app.post("/addpattern/")
async def fastapi_add_pattern(network: str, pattern: str, req: Request) -> ChangeSet:
props = await req.json()
print(props)
ps = {
'id' : pattern,
} | props