python-peewee
No description set
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
7
derived packages
- Links to openSUSE:Factory / python-peewee
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Maliku:python/python-peewee && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000124 124 Bytes | |
peewee-3.15.4.tar.gz | 0000908759 887 KB | |
python-peewee.changes | 0000021807 21.3 KB | |
python-peewee.spec | 0000002260 2.21 KB |
Revision 40 (latest revision is 64)
Dirk Mueller (dirkmueller)
accepted
request 1039675
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 40)
- 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
Comments 0