Build(deps): bump sqlalchemy from 2.0.27 to 2.0.30
Bumps sqlalchemy from 2.0.27 to 2.0.30.
Release notes
Sourced from sqlalchemy's releases.
2.0.30
Released: May 5, 2024
orm
[orm] [bug] Added new attribute
_orm.ORMExecuteState.is_from_statement
to detect statements created using_sql.Select.from_statement()
, and enhancedFromStatement
to set_orm.ORMExecuteState.is_select
,_orm.ORMExecuteState.is_insert
,_orm.ORMExecuteState.is_update
, and_orm.ORMExecuteState.is_delete
according to the element that is sent to the_sql.Select.from_statement()
method itself.References: #11220
[orm] [bug] Fixed issue in
_orm.selectin_polymorphic()
loader option where attributes defined with_orm.composite()
on a superclass would cause an internal exception on load.References: #11291
[orm] [bug] [regression] Fixed regression from 1.4 where using
_orm.defaultload()
in conjunction with a non-propagating loader like_orm.contains_eager()
would nonetheless propagate the_orm.contains_eager()
to a lazy load operation, causing incorrect queries as this option is only intended to come from an original load.References: #11292
[orm] [bug] Fixed issue in ORM Annotated Declarative where typing issue where literals defined using PEP 695 type aliases would not work with inference of
Enum
datatypes. Pull request courtesy of Alc-Alc.References: #11305
[orm] [bug] Fixed issue in
_orm.selectin_polymorphic()
loader option where the SELECT emitted would only accommodate for the child-most class among the result rows that were returned, leading intermediary-class attributes to be unloaded if there were no concrete instances of that intermediary-class present in the result. This issue only presented itself for multi-level inheritance hierarchies.References: #11327
[orm] [bug] Fixed issue in
_orm.Session.bulk_save_objects()
where the form of the identity key produced when usingreturn_defaults=True
would be incorrect. This could lead to an errors during pickling as well as identity map mismatches.
... (truncated)
Commits
- See full diff in compare view