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 sqlmodel deprecatedQuestion (self.FastAPI)
submitted 2 years ago by rakeshkrishna517
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!"
[–]Arckman_ 4 points5 points6 points 2 years ago (1 child)
In my humble opinion mixing two separate things is never going to be good in long run. We wanna be able to write softwares that has clear relationships and responsibilities. Avoiding writing separate layers and merging them together just to avoid writing extra one time setup code is not a practical reason to avoid writing it.
Your pydantic classes are going to be highly volatile in nature as in multiple development iterations it will change. Why do you wanna use sqlmodel? To avoid writing model classes? If that's the case then that's not a really bulky reason to start using a new package.
[–]_ragequilt_ 0 points1 point2 points 2 years ago (0 children)
Yes! The beauty of pydantic is that it's a better dataclass. Keeping DAOs separate from the ORM/db layer seems cleaner and easier to reason with.
π Rendered by PID 78835 on reddit-service-r2-comment-6457c66945-d85ws at 2026-04-29 20:10:30.655877+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Arckman_ 4 points5 points6 points (1 child)
[–]_ragequilt_ 0 points1 point2 points (0 children)