Bump sqlalchemy from 1.4.28 to 1.4.29
Created by: dependabot[bot]
Bumps sqlalchemy from 1.4.28 to 1.4.29.
Release notes
Sourced from sqlalchemy's releases.
1.4.29
Released: December 22, 2021
orm
[orm] [usecase] Added
_orm.Session.get.execution_options
parameter which was previously missing from the_orm.Session.get()
method.References: #7410
[orm] [bug] Fixed issue in new "loader criteria" method
_orm.PropComparator.and_()
where usage with a loader strategy like_orm.selectinload()
against a column that was a member of the.c.
collection of a subquery object, where the subquery would be dynamically added to the FROM clause of the statement, would be subject to stale parameter values within the subquery in the SQL statement cache, as the process used by the loader strategy to replace the parameters at execution time would fail to accommodate the subquery when received in this form.References: #7489
[orm] [bug] Fixed recursion overflow which could occur within ORM statement compilation when using either the
_orm.with_loader_criteria()
feature or the the_orm.PropComparator.and_()
method within a loader strategy in conjunction with a subquery which referred to the same entity being altered by the criteria option, or loaded by the loader strategy. A check for coming across the same loader criteria option in a recursive fashion has been added to accommodate for this scenario.References: #7491
[orm] [bug] [mypy] Fixed issue where the
__class_getitem__()
method of the generated declarative base class by_orm.as_declarative()
would lead to inaccessible class attributes such as__table__
, for cases where aGeneric[T]
style typing declaration were used in the class hierarchy. This is in continuation from the basic addition of__class_getitem__()
in #7368. Pull request courtesy Kai Mueller.[orm] [bug] [regression] Fixed caching-related issue where the use of a loader option of the form
lazyload(aliased(A).bs).joinedload(B.cs)
would fail to result in the joinedload being invoked for runs subsequent to the query being cached, due to a mismatch for the options / object path applied to the objects loaded for a query with a lead entity that usedaliased()
.References: #7447
... (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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)