You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current discussion on #pocoo irc: no harm in making it iterable, but at that point you might just use .offset().limit() on the SQLAlchemy query interface. If Pagination is used generally, outside of a SQL context, then an iterable interface would be more useful.
I never remember to call .items, and I was just reminded of this when getting a new developer spun up. Instead of:
I expect:
... because SQLAlchemy's query API does this everywhere. This fails, because a Pagination instance is not iterable.
The text was updated successfully, but these errors were encountered: