Skip to content

retry and timeout config not passed to next_page calls in Pagers #1974

@daniel-sanche

Description

@daniel-sanche

the gapic generator creates pager classes to make paging calls more friendly (example: Firestore's ListDocumentsPager)

Currently, any retry or timeout configuration is only used for the initial call. Each subsequent page will use the api defaults for these values

Instead, we should use the same retry and timeout options for each call in the Pager. Or, alternatively, provide different next_page_timeout and next_page_retry if we want to treat them separately. But I don't think that is necessary

Metadata

Metadata

Assignees

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