Skip to content

Commit

Permalink
Merge pull request #38 from rwitten/master
Browse files Browse the repository at this point in the history
Fixing buggy interaction with Cloud Code
  • Loading branch information
David Robinson committed Apr 17, 2014
2 parents 18df9f5 + 0284fca commit bf23d6f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions parse_rest/datatypes.py
Expand Up @@ -201,7 +201,8 @@ def __init__(self, **kw):
def _to_native(self):
return {
'__type': 'File',
'name': self._name
'name': self._name,
'url': self._file_url
}

url = property(lambda self: self._file_url)
Expand Down Expand Up @@ -388,4 +389,4 @@ def manageRelation(self, action, key, className, objectsId):
}
}
self.__class__.PUT(self._absolute_url, **payload)
self.__dict__[key] = ''
self.__dict__[key] = ''

0 comments on commit bf23d6f

Please sign in to comment.