Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation Issue] Resource Record Sets #1653

Closed
ojengwa opened this issue Mar 23, 2016 · 1 comment
Closed

[Documentation Issue] Resource Record Sets #1653

ojengwa opened this issue Mar 23, 2016 · 1 comment
Assignees
Labels
api: dns Issues related to the Cloud DNS API.

Comments

@ojengwa
Copy link
Contributor

ojengwa commented Mar 23, 2016

Page Name: dns-usage
Release: 0.11.0

From the documentation, the accepted usage for the dns.Client#zone method is similar to this:

zone = client.zone('acme-co')

I tried same and I got this error:

...
TypeError: zone() takes exactly 3 arguments (2 given)

On introspection, I observed that the signature for the dns.Client#zone method is def zone(self, name, dns_name):. It seems so far that a lot of the API docs/lib is broken...

Any reasons why, please?

@tseaver
Copy link
Contributor

tseaver commented Mar 23, 2016

Apologies for the discrepancy. The API implementation got stalled by the difficulty of getting system testing wired up (it requires having an actual DNS zone to work with). Cleaning up the docs to match the implementation as it evolved got stalled, I'm afraid.

@tseaver tseaver added docs api: dns Issues related to the Cloud DNS API. labels Mar 23, 2016
@tseaver tseaver self-assigned this Mar 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dns Issues related to the Cloud DNS API.
Projects
None yet
Development

No branches or pull requests

2 participants