Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use flask getlist mothed #52

Open
fainle opened this issue Jul 1, 2022 · 0 comments
Open

how to use flask getlist mothed #52

fainle opened this issue Jul 1, 2022 · 0 comments

Comments

@fainle
Copy link

fainle commented Jul 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant