sqlmodel
sqlmodel copied to clipboard
SQL databases in Python, designed for simplicity, compatibility, and robustness.
### 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....
Add an overload to the `exec` method with `_Executable` statement for update and delete statements
I think we should add an overload to the `exec` method to still have the possibility of passing an `_Executable` statement: ``` @overload def exec( self, statement: _Executable, *, params:...
:arrow_up: Update ruff from 0.2.0 to 0.4.1 and fix deprecated scripts commands - Upgraded the "ruff = "0.2.0"" dependency in `pyproject.toml` to "ruff = "0.4.1"". - Due to the ruff...
Needed to figure out how to use an alias to refer to the same table with 2 different attributes. Thought I would share share my learning by adding to the...
I'd like to use SQLModel with strict models exposed via FastAPI. However, there seem to be a few edge cases specifically with date, UUID, and similar "complex" types that aren't...
I was trying to debug some test failures locally with certain dependency combinations. nox is really helpful at orchestrating that similar to what github actions do. This was helpful to...
Running `mypy` or similar type checkers on `select` queries with more than 4 arguments will lead to errors due to the limited type overloads. In order to at least somehow...
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.28.0 to 3.1.4. Release notes Sourced from dawidd6/action-download-artifact's releases. v3.1.4 What's Changed build(deps): bump adm-zip from 0.5.10 to 0.5.12 by @dependabot in dawidd6/action-download-artifact#282 build(deps): bump @actions/artifact from...
Currently, it is not possible to specify a `SQLModel` with an `Optional` complex type, such as a `Decimal`, as follows: ```py from decimal import Decimal from typing import Annotated from...