SQLAlchemy 1.2.10 发布,Python 的 ORM 框架

SQLAlchemy 1.2.10 已发布,这是一个小版本,引入了一些针对 Core 和 ORM 的修复:

orm

  • [orm] [bug] Fixed bug in Bundle construct where placing two columns of the same name would be de-duplicated, when the Bundle were used as part of the rendered SQL, such as in the ORDER BY or GROUP BY of the statement.
  • [orm] [bug] Fixed regression in 1.2.9 due to #4287 where using a Load option in conjunction with a string wildcard would result in a TypeError.

sql

  • [sql] [bug] Fixed bug where a Sequence would be dropped explicitly before any Table that refers to it, which breaks in the case when the sequence is also involved in a server-side default for that table, when using MetaData.drop_all(). The step which processes sequences to be dropped via non server-side column default functions is now invoked after the table itself is dropped.

下载地址:

  • 发表于:
  • 原文链接https://www.oschina.net/news/98003/sqlalchemy-1-2-10-released
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码关注腾讯云开发者

领取腾讯云代金券