mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
ca3efa2b5f
commit
e69d72e320
|
|
@ -14,7 +14,7 @@ class JsonListModel(BaseModel):
|
|||
|
||||
@app.post("/form-str")
|
||||
def form_str(json_list: Annotated[str, Form()]) -> list[str]:
|
||||
model = JsonListModel(json_list=json_list) # type: ignore[arg-type]
|
||||
model = JsonListModel(json_list=json_list) # type: ignore[arg-type]
|
||||
return model.json_list
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue