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

Retrieving pointer _User , saving transform to pointer User #130

Open
cyril94440 opened this issue Dec 1, 2015 · 1 comment
Open

Retrieving pointer _User , saving transform to pointer User #130

cyril94440 opened this issue Dec 1, 2015 · 1 comment

Comments

@cyril94440
Copy link

Hi,

small issue.

I am retrieving an object with a pointer to _User. a.user
I am setting the user property of a new object like that b.user = a.user

then it is unable to save because expecting *_User, receiving *User

How can I solve that ?
thanks

@johnkawakami
Copy link
Contributor

I'm not sure if I had the same problem, but I imported User and it helped return the correct type.

from parse_rest.user import User

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants