bauerji / flask-pydantic

flask extension for integration with the awesome pydantic package
MIT License
352 stars 56 forks source link

how to use flask getlist mothed #52

Open fainle opened 2 years ago

fainle commented 2 years ago

if my query string is

http://url?a[]=1&a[]=2&a[]=3

i want the get the a value is a = [1, 2, 3]

can i use the query: useModel realize it ?

 class useModel(BaseModel):
     a: List = Field([]) 

is not working