sqlmodel icon indicating copy to clipboard operation
sqlmodel copied to clipboard

SQL databases in Python, designed for simplicity, compatibility, and robustness.

Results 350 sqlmodel issues
Sort by recently updated
recently updated
newest added

### 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....

question

Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.16.1. Changelog Sourced from mypy's changelog. Mypy Release Notes Next Release Remove Support for targeting Python 3.8 Mypy now requires --python-version 3.9 or greater. Support...

dependencies
python
internal

Introduce support for SQLAlchemy polymorphic models by adjusting field defaults and handling inheritance correctly in the SQLModel metaclass. Add tests to verify functionality with polymorphic joined and single table inheritance....

feature

## Description This PR introduces a `PydanticJSONB` to SQLModel, enabling seamless serialization and deserialization of Pydantic models in JSONB columns. This removes the need for manual conversion, allowing SQLModel instances...

feature

Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.13.2 to 4.14.0. Release notes Sourced from typing-extensions's releases. 4.14.0 This release adds several new features, including experimental support for inline typed dictionaries (PEP 764) and sentinels...

dependencies
python
internal

updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.8 → v0.11.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.8...v0.11.13)

internal

Currently, `sqlmodel.ext.asyncio.session.AsyncSession` doesn't implement `run_sync()`, which means that any call to `run_sync()` on a sqlmodel `AsyncSession` will be dispatched to the parent `sqlalchemy.ext.asyncio.AsyncSession`. The first argument to sqlalchemy's `AsyncSession.run_sync()` is...

feature

# Add support for pydantic date types This PR adds mappings for the Pydantic Datetime Types. https://docs.pydantic.dev/latest/api/types/#pydantic.types.AwareDatetime It improves #539. Please let me know how I add unittests for this.