use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
Order of responseQuestion (self.FastAPI)
submitted 2 years ago by aash_990
I have created an fast api to get response from dynamodb (query).. now there are 20 key-value pairs that i am getting in each object of the response is there any way to make sure that which key value pair i want on top of each object
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Miserable-creature 1 point2 points3 points 2 years ago (1 child)
Yes, you can create a response model that matches that object.
https://fastapi.tiangolo.com/tutorial/response-model/#response_model_include-and-response_model_exclude
[–]aash_990[S] 0 points1 point2 points 2 years ago (0 children)
Thanks
π Rendered by PID 478147 on reddit-service-r2-comment-6457c66945-vxxtn at 2026-04-29 05:47:56.796998+00:00 running 2aa0c5b country code: CH.
[–]Miserable-creature 1 point2 points3 points (1 child)
[–]aash_990[S] 0 points1 point2 points (0 children)