rel_1_4_29
版本发布时间: 2021-12-23 10:19:04
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
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
engine
-
[engine] [bug] Corrected the error message for the
AttributeError
that's raised when attempting to write to an attribute on the_result.Row
class, which is immutable. The previous message claimed the column didn't exist which is misleading.References: #7432
-
[engine] [bug] [regression] Fixed regression in the
_engine.make_url()
function used to parse URL strings where the query string parsing would go into a recursion overflow if a Python 2u''
string were used.References: #7446
mypy
-
[mypy] [bug] Fixed mypy regression where the release of mypy 0.930 added additional internal checks to the format of "named types", requiring that they be fully qualified and locatable. This broke the mypy plugin for SQLAlchemy, raising an assertion error, as there was use of symbols such as
__builtins__
and other un-locatable or unqualified names that previously had not raised any assertions.References: #7496
asyncio
-
[asyncio] [usecase] Added
_asyncio.async_engine_config()
function to create an async engine from a configuration dict. This otherwise behaves the same as_sa.engine_from_config()
.References: #7301
mariadb
-
[mariadb] [bug] Corrected the error classes inspected for the "is_disconnect" check for the
mariadbconnector
dialect, which was failing for disconnects that occurred due to common MySQL/MariaDB error codes such as 2006; the DBAPI appears to currently use themariadb.InterfaceError
exception class for disconnect errors such as error code 2006, which has been added to the list of classes checked.References: #7457
tests
-
[tests] [bug] [regression] Fixed a regression in the test suite where the test called
CompareAndCopyTest::test_all_present
would fail on some platforms due to additional testing artifacts being detected. Pull request courtesy Nils Philippsen.References: #7450
1、 SQLAlchemy-1.4.29-cp27-cp27m-macosx_10_14_x86_64.whl 1.46MB
2、 SQLAlchemy-1.4.29-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl 1.5MB
3、 SQLAlchemy-1.4.29-cp27-cp27m-win32.whl 1.47MB
4、 SQLAlchemy-1.4.29-cp27-cp27m-win_amd64.whl 1.47MB
5、 SQLAlchemy-1.4.29-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl 1.5MB
6、 SQLAlchemy-1.4.29-cp310-cp310-macosx_10_14_x86_64.whl 1.46MB
7、 SQLAlchemy-1.4.29-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.51MB
10、 SQLAlchemy-1.4.29-cp310-cp310-win32.whl 1.47MB
11、 SQLAlchemy-1.4.29-cp310-cp310-win_amd64.whl 1.48MB
12、 SQLAlchemy-1.4.29-cp36-cp36m-macosx_10_14_x86_64.whl 1.46MB
13、 SQLAlchemy-1.4.29-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.5MB
16、 SQLAlchemy-1.4.29-cp36-cp36m-win32.whl 1.47MB
17、 SQLAlchemy-1.4.29-cp36-cp36m-win_amd64.whl 1.48MB
18、 SQLAlchemy-1.4.29-cp37-cp37m-macosx_10_14_x86_64.whl 1.46MB
19、 SQLAlchemy-1.4.29-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.5MB
22、 SQLAlchemy-1.4.29-cp37-cp37m-win32.whl 1.47MB
23、 SQLAlchemy-1.4.29-cp37-cp37m-win_amd64.whl 1.48MB
24、 SQLAlchemy-1.4.29-cp38-cp38-macosx_10_14_x86_64.whl 1.46MB
25、 SQLAlchemy-1.4.29-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.51MB
28、 SQLAlchemy-1.4.29-cp38-cp38-win32.whl 1.47MB
29、 SQLAlchemy-1.4.29-cp38-cp38-win_amd64.whl 1.48MB
30、 SQLAlchemy-1.4.29-cp39-cp39-macosx_10_14_x86_64.whl 1.46MB
31、 SQLAlchemy-1.4.29-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.51MB
34、 SQLAlchemy-1.4.29-cp39-cp39-win32.whl 1.47MB
35、 SQLAlchemy-1.4.29-cp39-cp39-win_amd64.whl 1.48MB