FIX BaseSerializer.from_native has an altered signature

* base classes define it with one parameter
* BaseSerializer currently defines a second parameter, which we make optional here for method-dispatch passivity
This commit is contained in:
Steven Cummings 2014-01-02 17:18:08 -06:00
parent 12d1544101
commit e020c51b44

View File

@ -331,7 +331,7 @@ class BaseSerializer(WritableField):
return ret return ret
def from_native(self, data, files): def from_native(self, data, files=None):
""" """
Deserialize primitives -> objects. Deserialize primitives -> objects.
""" """