python-peewee/peewee-3.15.4.tar.gz
Dirk Mueller 5e226bdb62 Accepting request 1039675 from home:yarunachalam:branches:devel:languages:python
- Update to 3.15.4 
  Raise an exception in ReconnectMixin if connection is lost while inside a transaction (if the transaction was interrupted presumably some changes were lost and explicit intervention is needed).
  Add db.Model property to reduce boilerplate.
  Add support for running prefetch() queries with joins instead of subqueries (this helps overcome a MySQL limitation about applying LIMITs to a subquery).
  Add SQL AVG to whitelist to avoid coercing by default.
  Allow arbitrary keywords in metaclass constructor, #2627
  Add a pyproject.toml to silence warnings from newer pips when wheel package is not available.
  This release has a small helper for reducing boilerplate in some cases by exposing a base model class as an attribute of the database instance.
  # old:
  db = SqliteDatabase('...')
  class BaseModel(Model):
    class Meta:
        database = db
  class MyModel(BaseModel):
    pass
  # new:
  db = SqliteDatabase('...')
  class MyModel(db.Model):
    pass

OBS-URL: https://build.opensuse.org/request/show/1039675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peewee?expand=0&rev=40
2022-12-03 07:41:56 +00:00

4 lines
131 B
Plaintext

version https://git-lfs.github.com/spec/v1
oid sha256:97a13da0b017bb27fba1555e8e7fc26238c463d6e062398bc22a6734d8b8f045
size 908759