Title: DNS doesn't parse creationTime field · Issue #1362 · googleapis/google-cloud-python · GitHub
Open Graph Title: DNS doesn't parse creationTime field · Issue #1362 · googleapis/google-cloud-python
X Title: DNS doesn't parse creationTime field · Issue #1362 · googleapis/google-cloud-python
Description: I know DNS is not oficially supported yet, but I'm reporting it anyway. I'm using the master gcloud-python repo with this code: client = dns.Client.from_service_account_json( 'service-account.json', project='xyz-eu') zones = client.list_...
Open Graph Description: I know DNS is not oficially supported yet, but I'm reporting it anyway. I'm using the master gcloud-python repo with this code: client = dns.Client.from_service_account_json( 'service-account.json'...
X Description: I know DNS is not oficially supported yet, but I'm reporting it anyway. I'm using the master gcloud-python repo with this code: client = dns.Client.from_service_account_json( 'service-a...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/1362
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DNS doesn't parse creationTime field","articleBody":"I know DNS is not oficially supported yet, but I'm reporting it anyway. I'm using the master `gcloud-python` repo with this code:\n\n``` python\nclient = dns.Client.from_service_account_json( \n 'service-account.json', project='xyz-eu') \nzones = client.list_zones() \n```\n\nThis is the error I get: \n\n``` python\nTraceback (most recent call last):\n ..\n zones = client.list_zones()\n File \"/app/src/gcloud/gcloud/dns/client.py\", line 94, in list_zones\n for resource in resp['managedZones']]\n File \"/app/src/gcloud/gcloud/dns/zone.py\", line 67, in from_api_repr\n zone._set_properties(resource)\n File \"/app/src/gcloud/gcloud/dns/zone.py\", line 218, in _set_properties\n cleaned['creationTime'] = float(cleaned['creationTime'])\nValueError: invalid literal for float(): 2015-04-02T13:21:24.943Z\n```\n","author":{"url":"https://github.com/kvdb","@type":"Person","name":"kvdb"},"datePublished":"2016-01-07T17:19:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1362/google-cloud-python/issues/1362"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6413ffc-99e6-4d76-f549-7da59190a32f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9478:38C5EF:4161A9:58B453:6A4D3AB8 |
| html-safe-nonce | 469606715e66f8de8fd838923da85ed534ef682b453f9d9605e511628f428a31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDc4OjM4QzVFRjo0MTYxQTk6NThCNDUzOjZBNEQzQUI4IiwidmlzaXRvcl9pZCI6IjY2MjU3ODkxNzUzNjU3MTI1NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 481500569ea4f634c304865fcd2410b2ec2feda28ed5e90880ae7f6696e286a5 |
| hovercard-subject-tag | issue:125442972 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/1362/issue_layout |
| twitter:image | https://opengraph.githubassets.com/813a748c5feebb19529c34628133d82b9edbce1ef3fc5af0591966bc8e82718e/googleapis/google-cloud-python/issues/1362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/813a748c5feebb19529c34628133d82b9edbce1ef3fc5af0591966bc8e82718e/googleapis/google-cloud-python/issues/1362 |
| og:image:alt | I know DNS is not oficially supported yet, but I'm reporting it anyway. I'm using the master gcloud-python repo with this code: client = dns.Client.from_service_account_json( 'service-account.json'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kvdb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width