You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to call the dns.qoutas method, I got the following errors.
...
.../.virtualenvs/panda/lib/python2.7/site-packages/gcloud/dns/client.py", line 59, in quotas
return dict([(key, int(value))
ValueError: invalid literal for int() with base 10: 'dns#quota'
On 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.
Here's a snippet of the return value from the function call:
@tseaver We should get system tests up and running for DNS soon, it'll help catch stuff like this. We've got a domain we can use now (let's chat via email).
Activity
Fix: Error Calling DNS#QOUTAS Issue: googleapis#1650
dhermes commentedon Mar 23, 2016
Thanks for the report!
@tseaver We should get system tests up and running for DNS soon, it'll help catch stuff like this. We've got a domain we can use now (let's chat via email).
Fix: Error Calling DNS#QOUTAS Issue: googleapis#1650
Add a unit test which actually exercises #1650.
ojengwa commentedon Mar 29, 2016
I will close this issue.
feat: add gemini-2.0-flash-001 and gemini-2.0-flash-lite-001 to fine …