{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1650","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1650/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1650/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1650/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/issues/1650","id":142999417,"number":1650,"title":"Error Calling DNS#QOUTAS","user":{"login":"ojengwa","id":3935007,"avatar_url":"https://avatars.githubusercontent.com/u/3935007?v=3","gravatar_id":"","url":"https://api.github.com/users/ojengwa","html_url":"https://github.com/ojengwa","followers_url":"https://api.github.com/users/ojengwa/followers","following_url":"https://api.github.com/users/ojengwa/following{/other_user}","gists_url":"https://api.github.com/users/ojengwa/gists{/gist_id}","starred_url":"https://api.github.com/users/ojengwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojengwa/subscriptions","organizations_url":"https://api.github.com/users/ojengwa/orgs","repos_url":"https://api.github.com/users/ojengwa/repos","events_url":"https://api.github.com/users/ojengwa/events{/privacy}","received_events_url":"https://api.github.com/users/ojengwa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-23T15:51:45Z","updated_at":"2016-03-23T15:51:45Z","closed_at":null,"body":"When I tried to call the `dns.qoutas` method, I got the following errors. \r\n```\r\n...\r\n.../.virtualenvs/panda/lib/python2.7/site-packages/gcloud/dns/client.py\", line 59, in quotas\r\n    return dict([(key, int(value))\r\nValueError: invalid literal for int() with base 10: 'dns#quota'\r\n```\r\n\r\nOn introspection, it turns out that the error stems from the attempt to cast the `values` within the `quota` dictionary as an integer, specifically this call: `int(value)` where some of the values are not strings. Except it breaks the client somewhere else, I don't see how what purpose the casting serves in the first place.  \r\nHere's a snippet of the return value from the function call:\r\n```\r\n{u'quota': {u'kind': u'dns#quota', ...},...}\r\n```"}}