<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def source_set(method_name):
 """ Creates a setter that will call the source method with the context's key as first parameter and the value as second parameter. @param method_name: the name of a method belonging to the source. @type method_name: str """


    def source_set(value, context, **_params):
        method = getattr(context["model"].source, method_name)
        return _set(method, context["key"], value, (), {})

    return source_set