Skip to content

Allowing heterogeneous meanings for datastore list properties. - #1758

Merged
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:fix-1649
Apr 29, 2016
Merged

Allowing heterogeneous meanings for datastore list properties.#1758
dhermes merged 1 commit into
googleapis:masterfrom
dhermes:fix-1649

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

Fixes#1649.

@pcostell PTAL

@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 27, 2016
@dhermes

dhermes commented Apr 27, 2016

Copy link
Copy Markdown
ContributorAuthor

Running my repro snippet after this change verifies that proto -> Entity -> proto doesn't drop any information on the floor.

# python pb_repro.pye._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.

This comment was marked as spam.

This comment was marked as spam.

@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver PTAL.

@pcostell Is this good from your end?

@pcostell

Copy link
Copy Markdown
Contributor

Yup, LGTM

On Fri, Apr 29, 2016 at 10:02 AM Danny Hermes notifications@github.com
wrote:

@tseaverhttps://github.com/tseaver PTAL.

@pcostellhttps://github.com/pcostell Is this good from your end?


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1758 (comment)

@tseaver

Copy link
Copy Markdown
Contributor

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.

@dhermes
dhermes merged commit c3331eb into googleapis:masterApr 29, 2016
@dhermes
dhermes deleted the fix-1649 branch April 29, 2016 18:06
@dhermes

Copy link
Copy Markdown
ContributorAuthor

@tseaver Yes I feel like the meanings code is a very steep uphill climb.

@tseavertseaver added the api: datastore Issues related to the Datastore API. label May 16, 2016
@tseavertseaver mentioned this pull request May 16, 2016
parthea pushed a commit that referenced this pull request Nov 24, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Nov 26, 2025
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 9, 2026
This PR replaces the old yoshi-python team with cloud-sdk-python-team,
gcs-fs with gcs-fs-team, and gcs-sdk-team with gcs-team.
b/478003109
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: datastoreIssues related to the Datastore API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@dhermes@pcostell@tseaver@googlebot