Skip to content

0.12.28

Compare
Choose a tag to compare
@uriyyo uriyyo released this 29 Sep 08:56
· 85 commits to main since this release
62600b1
  • Add better logic for sqlalchemy scalars unwrapping. #1281
  • Fix issue with sqlalchemy imports for gino ext. #1282
  • Fix issue with incorrect body schema. #1299

Breaking changes

sqlachemy extension no longer requires to use items_transformer when selecting scalar field:

This code is no longer valid:

paginate(session, select(User.name), transformer=lambda items: [{'name': item} for item in items])

The correct version now is:

paginate(session, select(User.name))