sqlmodel
sqlmodel copied to clipboard
SQL databases in Python, designed for simplicity, compatibility, and robustness.
As a language feature for Python 3.12+ was introduced new type-alias definitions. [Reference here](https://typing.python.org/en/latest/spec/aliases.html) They are not working in `sqlmodel` hence this PR to support them.
For now, if the PR was opened from the `main` branch on fork, the `test` workflow is run every Monday on that fork. If tests fail, I have several notifications...
### Privileged issue - [x] I'm @tiangolo or he asked me directly to create an issue here. ### Issue Content Currently `alias` parameter doesn't work as expected with Pydantic V2...
Currently we have a lot of deprecation warnings because we use `fastapi.on_event` in docs examples. These warnings are useless and make it hard to read log of tests. I suggest...
I added the migrations section to use SQLModel with alembic. - [X] Initial example - [X] Step by step - [X] Example codes Updated release from: https://github.com/fastapi/sqlmodel/pull/512
This PR addresses [issue 57](https://github.com/fastapi/sqlmodel/issues/57). The original issue explains that attempting to use a Literal type annotation in a SQLModel raises a type error from `issubclass`. This is because `Literal`...
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....
### First Check - [X] I added a very descriptive title to this issue. - [X] I used the GitHub search to find a similar issue and didn't find it....
### Privileged issue - [x] I'm @tiangolo or he asked me directly to create an issue here. ### Issue Content add duckdb/ducklake support?