Skip to content

Take pagination into account #27

@Viicos

Description

@Viicos

In the list method of the client, the return type is supposed to be List[Object] even though the response can be paginated (and thus being an object of the following form: {"count": 1, "next": ..., "previous": ..., "results": [...]}.

Depending on whether you want pagination to be handled by the client or not, we can either:

  • change the return type to Union[Object, List[Object]]| and let the user handle pagination
  • make something more advanced to handle paginated responses in the client.

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