sqlmodel
sqlmodel copied to clipboard
SQL databases in Python, designed for simplicity, compatibility, and robustness.
According to what [this link](https://github.com/tiangolo/sqlmodel/discussions/833) mentions, PydanticV1's Field class supported passing arbitrary keyword arguments to the JSON schema. In SQLModel counterpart, it was supported by passing schema_extra (see [this](https://github.com/tiangolo/sqlmodel/blob/main/sqlmodel/main.py#L306)). PydanticV2...
### Issue Content The SQL model cannot insert the queried data into the corresponding table of another database ```python engine = create_engine(str(settings.MYSQL_DATABASE_URL)) rds_engine = create_engine(str(settings.RDS_DATABASE_URI), echo=True) def get_online_products(): statement =...
### 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 For `enum.Enum` it works fine, but when the field is...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 11.0.0. Release notes Sourced from pillow's releases. 11.0.0 https://pillow.readthedocs.io/en/stable/releasenotes/11.0.0.html Changes Do not create core image in TIFF seek() #8392 [@radarhere] Removed custom build_openjpeg #8365 [@radarhere]...
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.12.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Next release Mypy 1.12 We’ve just uploaded mypy 1.12 to the Python Package Index (PyPI). Mypy...
change old setattr() for sqlmodel.sqlmodel_update(), is has been updated in version 0.0.16 also in contributing, the name of the scripts to execute the test and the coverage has changed the...
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.5 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.5...v0.6.9)
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.9.0 to 1.10.3. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.10.3 💅 Cosmetic Output Improvements In #270, @facutuesca💰 made a follow-up to their previous PR #250, making the...