Commit 67a7042a by Miles Richardson

fix issue #155

parent 5a86ba0c
......@@ -439,7 +439,11 @@ class ParseResource(ParseBase):
def _init_attrs(self, args):
for key, value in six.iteritems(args):
setattr(self, key, ParseType.convert_from_parse(key, value))
# https://github.com/milesrichardson/ParsePy/issues/155
try:
setattr(self, key, ParseType.convert_from_parse(key, value))
except AttributeError:
continue
def _to_native(self):
return ParseType.convert_to_parse(self)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment