Title: datetime property · Issue #50 · googleapis/google-cloud-python · GitHub
Open Graph Title: datetime property · Issue #50 · googleapis/google-cloud-python
X Title: datetime property · Issue #50 · googleapis/google-cloud-python
Description: I not sure is it is a bug but when I have tried save() a entity with a datetime property appear this error. pb_attr, pb_value = helpers.get_protobuf_attribute_and_value(value) File "/usr/local/lib/python2.7/dist-packages/gcloud/datastore...
Open Graph Description: I not sure is it is a bug but when I have tried save() a entity with a datetime property appear this error. pb_attr, pb_value = helpers.get_protobuf_attribute_and_value(value) File "/usr/local/lib/...
X Description: I not sure is it is a bug but when I have tried save() a entity with a datetime property appear this error. pb_attr, pb_value = helpers.get_protobuf_attribute_and_value(value) File "/usr/local...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/50
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"datetime property","articleBody":"I not sure is it is a bug but when I have tried save() a entity with a datetime property appear this error.\n\n```\npb_attr, pb_value = helpers.get_protobuf_attribute_and_value(value)\nFile \"/usr/local/lib/python2.7/dist-packages/gcloud/datastore/helpers.py\", line 39, in get_protobuf_attribute_and_value\nname, value = 'timestamp_microseconds', time.mktime(val.timetuple())\nNameError: global name 'time' is not defined\n```\n","author":{"url":"https://github.com/albertog","@type":"Person","name":"albertog"},"datePublished":"2014-02-24T22:23:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/50/google-cloud-python/issues/50"}
| 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:ab3e4c4c-9dea-1fbb-e955-7d62971c414f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C4F4:651CD:527A:6B68:6A4D8D0C |
| html-safe-nonce | d88a287ec52b65922acfda32a26b2faeda2339c52cdfe36cdb6d7478f4c94255 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEY0OjY1MUNEOjUyN0E6NkI2ODo2QTREOEQwQyIsInZpc2l0b3JfaWQiOiIxODA3NzY2NTgwMDc2ODQyMjUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b027345da72d38f63d7f9dd607cf84b1af099e4132e9ae946976610060d26d95 |
| hovercard-subject-tag | issue:28203098 |
| 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/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/66fbe3c13c52880975bf00c9c0febb2eae88cf7aed57e7ad098968d51ea77420/googleapis/google-cloud-python/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/66fbe3c13c52880975bf00c9c0febb2eae88cf7aed57e7ad098968d51ea77420/googleapis/google-cloud-python/issues/50 |
| og:image:alt | I not sure is it is a bug but when I have tried save() a entity with a datetime property appear this error. pb_attr, pb_value = helpers.get_protobuf_attribute_and_value(value) File "/usr/local/lib/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | albertog |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320 |
| 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 | bffd5484f01713a661b03469b77678f72b6574ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width