(obj, data)
return callback(obj=obj, data=data, save=True)
Resolve the auth function used to update an object.
Resolve the auth function used to update an object.
Resolve the auth function used to update an object .
def update(obj, data):
    """Resolve the auth function used to update an object."""

    callback = auth.update_project if isinstance(obj, Project) else auth.update_recipe

    return callback(obj=obj, data=data, save=True)
def update ( obj , data ) : callback = auth . update_project if isinstance ( obj , Project ) else auth . update_recipe return callback ( obj = obj , data = data , save = True )