Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

flask-sqlalchemy

Package Overview
Dependencies
Maintainers
0
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flask-sqlalchemy - pypi Package Compare versions

Comparing version
2.4.1
to
2.4.2
+7
-0
CHANGES.rst

@@ -0,1 +1,8 @@

Version 2.4.2
-------------
Released 2020-04-22
- Fix bad pagination when records are de-duped. :pr:`812`
Version 2.4.1

@@ -2,0 +9,0 @@ -------------

+1
-1
Metadata-Version: 1.2
Name: Flask-SQLAlchemy
Version: 2.4.1
Version: 2.4.2
Summary: Adds SQLAlchemy support to your Flask application.

@@ -5,0 +5,0 @@ Home-page: https://github.com/pallets/flask-sqlalchemy

@@ -27,3 +27,3 @@ # -*- coding: utf-8 -*-

__version__ = "2.4.1"
__version__ = "2.4.2"

@@ -502,8 +502,3 @@ # the best timer function for the platform

# No need to count if we're on the first page and there are fewer
# items than we expected.
if page == 1 and len(items) < per_page:
total = len(items)
else:
total = self.order_by(None).count()
total = self.order_by(None).count()

@@ -510,0 +505,0 @@ return Pagination(self, page, per_page, total, items)

Metadata-Version: 1.2
Name: Flask-SQLAlchemy
Version: 2.4.1
Version: 2.4.2
Summary: Adds SQLAlchemy support to your Flask application.

@@ -5,0 +5,0 @@ Home-page: https://github.com/pallets/flask-sqlalchemy