-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allowing heterogeneous meanings for datastore list properties. #1758
Conversation
Running my repro snippet after this change verifies that proto -> Entity -> proto doesn't drop any information on the floor. # python pb_repro.py
e._meanings:
{u'blocks.value': ([None, 15, 15, None], [u'oops', u'foo', u'bar', u'forgot'])}
pb_new == pb:
True |
return | ||
|
||
# For lists, we set meaning on each sub-element. | ||
if is_list: |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Yup, LGTM On Fri, Apr 29, 2016 at 10:02 AM Danny Hermes notifications@github.com
|
Given that we've decided to incorporate the notion of heterogenous meanings at all (a feature which seems quite dubious to me), the implementation looks good to merge. |
@tseaver Yes I feel like the |
Fixes #1649.
@pcostell PTAL