def update_workshop(psy_id, id):
    body = request.get_json()
    workshop = Workshop.get_by_id(id)
    new_workshop = workshop.update_workshop(body['title'], body['duration'], 
    body['price'], body['date'], body['max_people'], 
    body['description'], body['category_info'])
    return jsonify(new_workshop.to_dict())
def delete_one_workshop(psy_id, id):
    workshop = Workshop.get_by_id(id)
    workshop.delete()
    return workshop.to_dict(), 200
def get_target_workshop(id):
    target_workshop = Workshop.get_by_id(id)
    return jsonify(target_workshop.to_dict()), 200