Removed Resource.from_dict(), it was never used and is broken in Python 3.

This commit is contained in:
2017-09-19 12:25:43 +02:00
parent d472140bfe
commit cfcaf96ac6

View File

@@ -128,11 +128,6 @@ class Resource(object):
data[key] = parse_object(self.__data__[key])
return data
def from_dict(self, d):
for key, val in d.iteritems():
self[key] = val
return self
@classmethod
def new(cls, dict_or_resource):
"""None-safe constructor."""