rel_1_4_22
版本发布时间: 2021-07-22 08:14:02
sqlalchemy/sqlalchemy最新发布版本:rel_2_0_36(2024-10-16 03:41:54)
1.4.22
Released: July 21, 2021
orm
-
[orm] [bug] Fixed issue in new
_schema.Table.table_valued()
method where the resulting_sql.TableValuedColumn
construct would not respond correctly to alias adaptation as is used throughout the ORM, such as for eager loading, polymorphic loading, etc.References: #6775
-
[orm] [bug] Fixed issue where usage of the
_result.Result.unique()
method with an ORM result that included column expressions with unhashable types, such asJSON
orARRAY
using non-tuples would silently fall back to using theid()
function, rather than raising an error. This now raises an error when the_result.Result.unique()
method is used in a 2.0 style ORM query. Additionally, hashability is assumed to be True for result values of unknown type, such as often happens when using SQL functions of unknown return type; if values are truly not hashable then thehash()
itself will raise.For legacy ORM queries, since the legacy
_orm.Query
object uniquifies in all cases, the old rules remain in place, which is to useid()
for result values of unknown type as this legacy uniquing is mostly for the purpose of uniquing ORM entities and not column values.References: #6769
-
[orm] [bug] Fixed an issue where clearing of mappers during things like test suite teardowns could cause a "dictionary changed size" warning during garbage collection, due to iteration of a weak-referencing dictionary. A
list()
has been applied to prevent concurrent GC from affecting this operation.References: #6771
-
[orm] [bug] [regression] Fixed critical caching issue where the ORM's persistence feature using INSERT..RETURNING would cache an incorrect query when mixing the "bulk save" and standard "flush" forms of INSERT.
References: #6793
engine
-
[engine] [bug] Added some guards against
KeyError
in the event system to accommodate the case that the interpreter is shutting down at the same time_engine.Engine.dispose()
is being called, which would cause stack trace warnings.References: #6740
sql
-
[sql] [bug] Fixed issue where use of the
_sql.case.whens
parameter passing a dictionary positionally and not as a keyword argument would emit a 2.0 deprecation warning, referring to the deprecation of passing a list positionally. The dictionary format of "whens", passed positionally, is still supported and was accidentally marked as deprecated.References: #6786
-
[sql] [bug] Fixed issue where type-specific bound parameter handlers would not be called upon in the case of using the
_sql.Insert.values()
method with the PythonNone
value; in particular, this would be noticed when using the_types.JSON
datatype as well as related PostgreSQL specific types such as_postgresql.JSONB
which would fail to encode the PythonNone
value into JSON null, however the issue was generalized to any bound parameter handler in conjunction with this specific method of_sql.Insert
.References: #6770
1、 SQLAlchemy-1.4.22-cp27-cp27m-macosx_10_14_x86_64.whl 1.42MB
2、 SQLAlchemy-1.4.22-cp27-cp27m-manylinux_2_5_x86_64.manylinux1_x86_64.whl 1.46MB
3、 SQLAlchemy-1.4.22-cp27-cp27m-win32.whl 1.43MB
4、 SQLAlchemy-1.4.22-cp27-cp27m-win_amd64.whl 1.43MB
5、 SQLAlchemy-1.4.22-cp27-cp27mu-manylinux_2_5_x86_64.manylinux1_x86_64.whl 1.46MB
6、 SQLAlchemy-1.4.22-cp36-cp36m-macosx_10_14_x86_64.whl 1.42MB
7、 SQLAlchemy-1.4.22-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.48MB
10、 SQLAlchemy-1.4.22-cp36-cp36m-win32.whl 1.44MB
11、 SQLAlchemy-1.4.22-cp36-cp36m-win_amd64.whl 1.44MB
12、 SQLAlchemy-1.4.22-cp37-cp37m-macosx_10_14_x86_64.whl 1.42MB
13、 SQLAlchemy-1.4.22-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.48MB
16、 SQLAlchemy-1.4.22-cp37-cp37m-win32.whl 1.44MB
17、 SQLAlchemy-1.4.22-cp37-cp37m-win_amd64.whl 1.44MB
18、 SQLAlchemy-1.4.22-cp38-cp38-macosx_10_14_x86_64.whl 1.42MB
19、 SQLAlchemy-1.4.22-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.49MB
22、 SQLAlchemy-1.4.22-cp38-cp38-win32.whl 1.44MB
23、 SQLAlchemy-1.4.22-cp38-cp38-win_amd64.whl 1.44MB
24、 SQLAlchemy-1.4.22-cp39-cp39-macosx_10_14_x86_64.whl 1.42MB
25、 SQLAlchemy-1.4.22-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl 1.48MB
28、 SQLAlchemy-1.4.22-cp39-cp39-win32.whl 1.44MB
29、 SQLAlchemy-1.4.22-cp39-cp39-win_amd64.whl 1.44MB