Skip to content
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
This repository was archived by the owner on Feb 13, 2026. It is now read-only.

zone.list_resource_record_sets example in index.rst is wrong #15

Description

@allanlw

In index.rst, there is the following example:

>>> records, page_token = zone.list_resource_record_sets()  # API request
>>> while page_token is not None:
...     next_batch, page_token = zone.list_resource_record_sets(
...         page_token=page_token)  # API request
...     records.extend(next_batch)

However, zone.list_resource_record_sets only returns only one value and I guess does the paging automatically.

Metadata

Metadata

Assignees

Labels

api: dnsIssues related to the googleapis/python-dns API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions