milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
516 stars 184 forks source link

Retrieving pointer _User , saving transform to pointer User #130

Open cyril94440 opened 9 years ago

cyril94440 commented 9 years ago

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 commented 8 years ago

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