Skip to content
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

fix polymodel put and get #151

Merged
merged 5 commits into from
Aug 5, 2019
Merged

fix polymodel put and get #151

merged 5 commits into from
Aug 5, 2019

Conversation

cguardia
Copy link
Contributor

@cguardia cguardia commented Aug 5, 2019

As described in #149, PolyModel was not storing/retrieving data like it should. This PR fixes that.

@cguardia cguardia requested a review from chrisrossi August 5, 2019 09:40
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 5, 2019
Copy link
Contributor

@chrisrossi chrisrossi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, thanks.

foo = ndb.IntegerProperty()

class Cat(Animal):
foo = ndb.IntegerProperty()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to repeat the definition of foo?

@cguardia cguardia merged commit f14d1ec into googleapis:master Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants