

@classmethod
def new_from_dict(cls, d, h=None, **kwargs):
    d = to_python(obj=cls(), in_dict=d, str_keys=cls._strs, int_keys=d._ints, date_keys=cls._dates, bool_keys=cls._bools, dict_keys=cls._dicts, object_map=cls._map, _h=h)
    d.__dict__.update(kwargs)
    return d

dataset/ETHPy150Open kennethreitz-archive/python-github3/github3/models.py BaseResource.new_from_dict/VarMisuse@44/52 `cls`->`d`