Skip to content

Lists are paged, yet sample code doesn't show this #94

@pmorriss

Description

@pmorriss

I was tracing a bug in my own code and I discovered that when I get a list of, say, unsubscribed subscribers using the code in samples/lists.py line 27
for cm in list.unsubscribed().Results:
that it only returns a certain number of results. If I want the full list of unsubscribed people then I have to use a paging method, as is used, for example, in clients.py.

Could the sample code for lists show a paged method?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions