Skip to content

max-items is just used for issues, but not for others #755

@xiao623

Description

@xiao623

self.PPER_PAGE: self.max_items,

The value of max-items is only used for issues method, so what is the point of setting this value?

For example:

self.PPER_PAGE: self.VPER_PAGE,

when we called https://api.github.com/repos/apache/spark/pulls/27058/comments?per_page=100&direction=asc&sort=updated, we got Server Error.
But if per_page is 50, the response is 200.

It should also be used in others methods so that we can set per_page what we want.

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