sqlmodel
sqlmodel copied to clipboard
SQL databases in Python, designed for simplicity, compatibility, and robustness.
Bumps [dirty-equals](https://github.com/samuelcolvin/dirty-equals) from 0.9.0 to 0.11. Release notes Sourced from dirty-equals's releases. v0.11.0 2025-11-16 What's Changed π Fix nested dataclass comparison by @βconnorbrinton in samuelcolvin/dirty-equals#120 uprev in preparation for release...
After `pydantic` update to support Python 3.14, different declaration syntax were affected by the changed. I check and on `pydantic` side there is not changes on the resulting `FieldInfo` structure,...
See #1598 for discussion. I wanted to see if this would pass tests across the matrix (don't see why they wouldn't). I think this only applies to pyright in strict...
## Description This PR fixes the Field(alias="...") functionality that was broken in Pydantic v2 while maintaining full backward compatibility with Pydantic v1. ## Problem In Pydantic v2, the `alias` parameter...
This PR fixes a mistake in docstring and deprecation message of `AsyncSession.execute()` (we should await `execute` method and only then call `scalars`): ```py heroes = await session.execute(select(Hero)).scalars().all() ```
Fixed an issue where `sqlmodel.tuple_` returns `` but the type hint points to ``. The current workaround for this mistake, `# type: ignore[return-value]`, has been removed. https://github.com/fastapi/sqlmodel/blob/5c1b89afd9205884c46ff71819b327b00d185a3a/sqlmodel/sql/expression.py#L195
Starting with version 0.0.26, users of pyright (strict mode) encounter a typing error. For more details, please refer to discussion [#1598](https://github.com/fastapi/sqlmodel/discussions/1598). This occurs when importing Field and can be resolved...
Fixes https://github.com/fastapi/sqlmodel/discussions/1597