r/FastAPI • • Oct 16 '21

Question tiangolo/SQLModel DoA?

There was a lot of hype and excitement around the release of SQLModel, a Pydantic + SQLAlchemy hybrid Model library with native integration for FastAPI. I pulled it out just now and there hasn't been any update beyond the initial anouncment on August 25th.

Is this project dead on arrival or is there something baking behind the scenes?

16 Upvotes

12 comments sorted by

17

u/tiangolo contributor Oct 16 '21

Hey, author here. Not dead at all, but I also have a lot of extra pending stuff in FastAPI and my other projects. So I'll get to it at some point.

4

u/LightShadow Oct 16 '21

Great! That's all the confirmation I need to use it on my next big service at work.

Keep up the great job!

4

u/tabris2015 Oct 17 '21 edited Oct 17 '21

FastAPI + SQLModel make an awesome combination, definitely looking forward what you are working on. Thanks!

7

u/jank123 Oct 17 '21

Any reason you won't let someone else help with any of your projects? You can say they're not dead all you want, but you're losing good will in the community by not acknowledging PRs. The majority of recent commits across your projects are nothing more than translations and documentation updates. We love your projects, that's why we're here. But we'd also love some bug fixes and enhancements once in a while too. If you're too busy, then maybe find someone you trust? It's how most successful and long lived open source projects make it.

15

u/tiangolo contributor Oct 18 '21

You are making a false and bitter claim that only makes me a bit sad and demotivated. 😔

It seems you didn't notice the massive re-write of the deployment guide (that I consider an enhancement, a huge part of FastAPI is precisely docs), all the upgrades to dependencies that required complex changes, e.g. Typer compatible with BOTH Click 7 and 8, FastAPI with the latest Starlette based on AnyIO (compatible with Trio), several upgrades to all my Docker images... Several of those were just work from me, a bunch also contributions from others in PRs. If you are going to claim that there are no bug fixes and features please at least check the release notes in the projects before the accusations.

If you want to help, if you want to see more progress, all the projects have a dedicated page about help with many different things you could do, from helping others with their issues to contributing PRs and sponsoring. But making these claims that only drain my energy and take more of my time is certainly not in those lists of things to do to help.

About PRs and contributions from others, I still personally review each and every PR. If you take the time to see the commit history, on every PR, almost all PRs require changes and improvements that I do on top. In many cases, it could be easier to reimplement them from scratch in a new PR, but I try to keep the original one and make the changes on top to acknowledge the contributions and effort from others and to foster the community. But having more people giving approvals to PRs would not really improve things as I still have to review and in most cases work quite a bit on top of each PR. The projects have worked well the way I have handled them, with all the care I put into them, so I'll keep it this way for now. But again, if you want things to move faster, you can always help, for example, answering questions from others in issues, which consumes a lot of time, and if others help I can spend more time on the code itself.

4

u/KimPeek Nov 04 '21

I prefer stable frameworks over shiny new things. We do not get stable frameworks through quick iteration and rapid release cycles. I appreciate your approach, hard work, and contributions. Thank you!

8

u/OpposablePinky Oct 16 '21

It's an unfunded project and It's been 6 weeks...

The project appears to be a thin shim that glues together other projects to reduce boilerplate code. What updates are you expecting?

2

u/LightShadow Oct 16 '21

There are 46 pull requests and just as many open issues.

5

u/Manwe_Nomin Oct 16 '21

Maybe I'm just too new to API programming, but I found SQLModel incredibly useful in putting together my first FastAPI project. It came out right as I was transitioning from tutorials to my own stuff, and it reduced SO much boilerplate/duplication. Not really sure what other functionality others would be wanting, but I for one am super happy with it!

2

u/charliegriefer Oct 16 '21

I played around with it a bit recently.

Can't say as to whether or not the project is dead... but it seems like Tortoise-ORM offers up a lot of the same functionality that SQLModel promised.

-10

u/jank123 Oct 16 '21

It's Sebastian's MO, all of his projects are abandoned. This one just faster than the others. It's disappointing that he won't hand them over if he won't maintain them.

1

u/jank123 Oct 18 '21

Holy shit are you people sensitive!