Bump sqlalchemy[asyncio] from 2.0.41 to 2.0.42
Type: Pull Request
State: Merged
Association: Contributor
Comments: 0
(7 months ago)
(7 months ago)
(7 months ago)
by pamelafox
dependencies python
Bumps sqlalchemy[asyncio] from 2.0.41 to 2.0.42.
Release notes
Sourced from sqlalchemy[asyncio]'s releases.
2.0.42
Released: July 29, 2025
orm
[orm] [usecase] Added
dataclass_metadataargument to all ORM attribute constructors that accept dataclasses parameters, e.g.mapped_column.dataclass_metadata,relationship.dataclass_metadata, etc. It's passed to the underlying dataclassmetadataattribute of the dataclass field. Pull request courtesy Sigmund Lahn.References: #10674
[orm] [bug] Implemented the
_orm.defer(),_orm.undefer()and_orm.load_only()loader options to work for composite attributes, a use case that had never been supported previously.References: #12593
[orm] [bug] Fixed bug where the ORM would pull in the wrong column into an UPDATE when a key name inside of the
ValuesBase.values()method could be located from an ORM entity mentioned in the statement, but where that ORM entity was not the actual table that the statement was inserting or updating. An extra check for this edge case is added to avoid this problem.References: #12692
engine
- [engine] Improved validation of execution parameters passed to the
_engine.Connection.execute()and similar methods to provided a better error when tuples are passed in. Previously the execution would fail with a difficult to understand error message.sql
[sql] [usecase] The
_sql.values()construct gains a new method_sql.Values.cte(), which allows creation of a named, explicit-columnsCTEagainst an unnamedVALUESexpression, producing a syntax that allows column-oriented selection from aVALUESconstruct on modern versions of PostgreSQL, SQLite, and MariaDB.References: #12734
[sql] [bug] Fixed issue where
select()of a free-standing scalar expression that
... (truncated)
Commits
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 4610630 |
| UUID: | 2719890987 |
| Node ID: | PR_kwDOLiB2fc6iHj4r |
| Host: | GitHub |
| Repository: | Azure-Samples/azure-postgres-pgvector-python |
| Merge State: | Unknown |