in api/wheel.py [0:0]
def unrig_participant(event):
"""
Remove rigging for the specified wheel
:param event: Lambda event containing the API Gateway request path parameter wheel_id
{
"pathParameters":
{
"wheel_id": string ID of the wheel (DDB Hash Key)
}
}
:return: response dictionary
"""
# By default, rigging the wheel isn't hidden but they can be
wheel_id = event['pathParameters']['wheel_id']
Wheel.update_item(Key={'id': wheel_id}, UpdateExpression='remove rigging')