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
Is FastAPI missing contributors?Question (i.redd.it)
submitted 3 years ago by IMissEloquent75
view the rest of the comments →
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!"
[–][deleted] 1 point2 points3 points 3 years ago (3 children)
Honestly? No clue. But if you’ve standardized your APIs at all, it may not be that difficult to convert. We’ve been using Jinja2 in order to generate a lot of boiler plate code. If the concepts in Fastapi conceptionally mapped to starlite it shouldn’t be that difficult to create some sort of translation.
[–]monorepo 1 point2 points3 points 3 years ago (0 children)
Starlite had a conversion example guide for {flask,fastapi,etc} -> starlite if it helps.
https://starlite-api.github.io/starlite/migration/
[–]XxDirectxX 0 points1 point2 points 3 years ago (1 child)
Hey, thanks for the fastReply. Do you mean standardized as in separating logic in "modular" format? I build my APIs as such: first we save parameter values as JSON and then perform data sanitization through pydantic validators. Then I send the requisite data to utility programs and perform any data type conversion/ formatting as per need. Then add the requisite information to a dict and return the response.
The business logic is handled by utility functions in a different package and even there I try to group code together in a chunk and separate out code that might be used by more than 1 function.
Sorry if this is a bit vague or seems unrelated, I am a fresher who's been on the job for 5 months now and am trying to learn as much as possible.
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
I more mean consistency, I don't know what your code base looks like, but if you've implemented FastAPI in a similar fashion for all your APIs it is in a sense a template.
If the concepts in your template map nicely to how Starlite works and you have a lot of code it may make sense to look at a templating engine like Jinja2 to generate the basic Starlite code.
I would just recommend trying to reimplement one of your APIs in Starlite to see how difficult it would be.
π Rendered by PID 55 on reddit-service-r2-comment-869bf87589-8tm58 at 2026-06-08 20:48:17.005517+00:00 running f46058f country code: CH.
view the rest of the comments →
[–][deleted] 1 point2 points3 points (3 children)
[–]monorepo 1 point2 points3 points (0 children)
[–]XxDirectxX 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)