Skip to content

[Discussion] Automatic API request pagination in Python 2 and 3 #321

Description

@Roach

Description

More and more Slack API endpoints are supporting pagination. As such, I'd like to add pagination support to the API request handler in this library.

Over the last week and a half, I’ve been thinking a lot about how we would support pagination for API call in the this client which won’t cause the client to lock up the host application while it traverses the cursors on large workspaces…

In Python 3, we can spin it off as an async process, in 2.7 we could spin off a thread, but is that a good practice? I’m debating only supporting auto-pagination in 2.x of slackclient, which may be Python 3 only, so we can use 3's async magic.

What type of issue is this? (place an x in one of the [ ])

  • discussion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions