

def _deserialize_dict(self, value):
    ' Helper to deserialize dict-like data '
    if ((not value) or isinstance(value, six.string_types)):
        return value
    return dict(((k, self._deserialize_value(v)) for (k, v) in value.items()))

dataset/ETHPy150Open djangonauts/django-hstore/django_hstore/fields.py SerializedDictionaryField._deserialize_dict/original