Comments (4)
@jeanlst To be honest, I've initially chosen SQLModel since it combines pydantic and SQLAlchemy which is exactly what I wanted to do. Also since tiangolo has a lot of followers I assumed this project will gain a decent amount of contributors quickly, So I would end up implementing the same solution but heavily outnumbered 😆. Lastly, I guess I wanted to go the easy way.
However, you're right in terms of maturity and release frequency. Also from what I've seen async session is not fully implemented, so no performance advantage (yet). Async SQLAlchemy it is then :) Thanks for the input!
Have a good one!
from fastapi-mvc.
Nice! I'm keeping tabs on the project and you have been doing a great job so far! I'm still getting into all this stuff so I haven't been that helpful yet, bot hopefully in the future!
from fastapi-mvc.
@jeanlst just wanted to let you know, that this feature is next in line to implement. I don't know the ETA since there is some degree of unknown regarding how this will be implemented exactly. But this and few other issues combined will be a whole deal:
- Databases support (this particular issue)
- Generating models and migrations
- Generate whole resource scaffold (meaning controller + model + migrations + tests)
- Depending on chosen DB engine, add database HA cluster deployment in K8s (similar to Redis in
make dev-env
) but also I want to create another script for just deploying application stack in Kubernetes. It'll be probably a generator as well. I guess something likefastapi-mvc generate k8s-deployment [OPTIONS] [ARGS]
in which you can choose what to include.
In the meantime controller and generator generators feature is already available with 0.11.0
release. It's not fully documented, but documentation itself got an upgrade too, and there is a basic howto on controller generator. Any feedback is always welcome :)
from fastapi-mvc.
@rszamszur why not use async sqlalchemy? SQLModel seems pretty good so we but I feel it's not really that mature yet and the releases are taking a lot of time. Also SQLAlchemy is kinda of a staple I feel like
from fastapi-mvc.
Related Issues (20)
- Implement new generator - shell script
- Add support for Python 3.11
- Add support for Python 3.11 for copier-project
- Create initial copier template for shell script generator HOT 1
- Handle generator aliases conflicts
- Allow generators lookup paths configuration via an environment variable
- Refactor Nix expressions to flakes
- Refactor Nix expressions to flakes for copier-project
- Refactor and improve tests suite
- Refactor and improve copier-project tests suite
- Implement `fastapi-mvc update` command HOT 1
- Update Poetry to 1.3.x
- Refactor Nix expressions to flake
- Refactor API for generator command line interface implementation
- Update `copier-generator` template to work with the new API for creating generator's CLIs.
- Update flake nixpkgs to 23.05
- Update Poetry to 1.5.x
- Unable to create new project HOT 5
- Drop Netlify
- FastApi-Documentation missing / Broken Link
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastapi-mvc.