rel_2_0_30
版本发布时间: 2024-05-06 02:04:05
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
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.References: #11332
-
[orm] [bug] Fixed issue where attribute key names in
_orm.Bundle
would not be correct when using ORM enabled_sql.select
vs._orm.Query
, when the statement contained duplicate column names.References: #11347
engine
-
[engine] [bug] Fixed issue in the
_engine.Connection.execution_options.logging_token
option, where changing the value oflogging_token
on a connection that has already logged messages would not be updated to reflect the new logging token. This in particular prevented the use of_orm.Session.connection()
to change the option on the connection, since the BEGIN logging message would already have been emitted.References: #11210
-
[engine] [bug] Fixed issue in cursor handling which affected handling of duplicate
_sql.Column
or similar objcts in the columns clause of_sql.select()
, both in combination with arbitary_sql.text()
clauses in the SELECT list, as well as when attempting to retrieve_engine.Result.mappings()
for the object, which would lead to an internal error.References: #11306
typing
-
[typing] [bug] [regression] Fixed typing regression caused by #11055 in version 2.0.29 that added
ParamSpec
to the asynciorun_sync()
methods, where using_asyncio.AsyncConnection.run_sync()
with_schema.MetaData.reflect()
would fail on mypy due to a mypy issue. Pull request courtesy of Francisco R. Del Roio.References: #11200
-
[typing] [bug] Fixed issue in typing for
_orm.Bundle
where creating a nested_orm.Bundle
structure were not allowed.
misc
-
[bug] [test] Ensure the
PYTHONPATH
variable is properly initialized when usingsubprocess.run
in the tests.References: #11268
-
[bug] [installation] Fixed an internal class that was testing for unexpected attributes to work correctly under upcoming Python 3.13. Pull request courtesy Edgar Ramírez-Mondragón.
References: #11334
1、 SQLAlchemy-2.0.30-cp310-cp310-macosx_10_9_x86_64.whl 1.99MB
2、 SQLAlchemy-2.0.30-cp310-cp310-macosx_11_0_arm64.whl 1.98MB
3、 SQLAlchemy-2.0.30-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.91MB
4、 SQLAlchemy-2.0.30-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.92MB
5、 SQLAlchemy-2.0.30-cp310-cp310-musllinux_1_1_aarch64.whl 2.95MB
6、 SQLAlchemy-2.0.30-cp310-cp310-musllinux_1_1_x86_64.whl 2.95MB
7、 SQLAlchemy-2.0.30-cp310-cp310-win32.whl 1.96MB
8、 SQLAlchemy-2.0.30-cp310-cp310-win_amd64.whl 1.98MB
9、 SQLAlchemy-2.0.30-cp311-cp311-macosx_10_9_x86_64.whl 1.99MB
10、 SQLAlchemy-2.0.30-cp311-cp311-macosx_11_0_arm64.whl 1.98MB
11、 SQLAlchemy-2.0.30-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.04MB
12、 SQLAlchemy-2.0.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.04MB
13、 SQLAlchemy-2.0.30-cp311-cp311-musllinux_1_1_aarch64.whl 3.05MB
14、 SQLAlchemy-2.0.30-cp311-cp311-musllinux_1_1_x86_64.whl 3.04MB
15、 SQLAlchemy-2.0.30-cp311-cp311-win32.whl 1.96MB
16、 SQLAlchemy-2.0.30-cp311-cp311-win_amd64.whl 1.98MB
17、 SQLAlchemy-2.0.30-cp312-cp312-macosx_10_9_x86_64.whl 1.99MB
18、 SQLAlchemy-2.0.30-cp312-cp312-macosx_11_0_arm64.whl 1.98MB
19、 SQLAlchemy-2.0.30-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 3.08MB
20、 SQLAlchemy-2.0.30-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 3.09MB
21、 SQLAlchemy-2.0.30-cp312-cp312-musllinux_1_1_aarch64.whl 3.08MB
22、 SQLAlchemy-2.0.30-cp312-cp312-musllinux_1_1_x86_64.whl 3.09MB
23、 SQLAlchemy-2.0.30-cp312-cp312-win32.whl 1.96MB
24、 SQLAlchemy-2.0.30-cp312-cp312-win_amd64.whl 1.98MB
25、 SQLAlchemy-2.0.30-cp37-cp37m-macosx_10_9_x86_64.whl 1.99MB
26、 SQLAlchemy-2.0.30-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.83MB
27、 SQLAlchemy-2.0.30-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.84MB
28、 SQLAlchemy-2.0.30-cp37-cp37m-musllinux_1_1_aarch64.whl 2.85MB
29、 SQLAlchemy-2.0.30-cp37-cp37m-musllinux_1_1_x86_64.whl 2.85MB
30、 SQLAlchemy-2.0.30-cp37-cp37m-win32.whl 1.96MB
31、 SQLAlchemy-2.0.30-cp37-cp37m-win_amd64.whl 1.98MB
32、 SQLAlchemy-2.0.30-cp38-cp38-macosx_10_9_x86_64.whl 1.99MB
33、 SQLAlchemy-2.0.30-cp38-cp38-macosx_11_0_arm64.whl 1.98MB
34、 SQLAlchemy-2.0.30-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.94MB
35、 SQLAlchemy-2.0.30-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.94MB
36、 SQLAlchemy-2.0.30-cp38-cp38-musllinux_1_1_aarch64.whl 2.99MB
37、 SQLAlchemy-2.0.30-cp38-cp38-musllinux_1_1_x86_64.whl 2.99MB
38、 SQLAlchemy-2.0.30-cp38-cp38-win32.whl 1.96MB
39、 SQLAlchemy-2.0.30-cp38-cp38-win_amd64.whl 1.98MB
40、 SQLAlchemy-2.0.30-cp39-cp39-macosx_10_9_x86_64.whl 1.99MB
41、 SQLAlchemy-2.0.30-cp39-cp39-macosx_11_0_arm64.whl 1.98MB
42、 SQLAlchemy-2.0.30-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 2.93MB
43、 SQLAlchemy-2.0.30-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl 2.94MB
44、 SQLAlchemy-2.0.30-cp39-cp39-musllinux_1_1_aarch64.whl 2.97MB
45、 SQLAlchemy-2.0.30-cp39-cp39-musllinux_1_1_x86_64.whl 2.97MB
46、 SQLAlchemy-2.0.30-cp39-cp39-win32.whl 1.96MB
47、 SQLAlchemy-2.0.30-cp39-cp39-win_amd64.whl 1.98MB
48、 SQLAlchemy-2.0.30-py3-none-any.whl 1.79MB