@classmethod
    def from_dict(cls, data, model):
        model_provided = model is not None
        result = {}
        for name, new_value in data.items():
            kwargs = {
                'name': name,
                'new_value': new_value,
            }
            if model_provided:
                kwargs['params'] = model.get_field_params(name)
            result[name] = cls(**kwargs)
        return result
Kick Java's GC into gear
dataset/ETHPy150Open ramses-tech/nefertari/nefertari/utils/data.py/FieldData.from_dict--crossover with--dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/test/test_weakref.py/extra_collect