@api.patch('/answers/{answer_id}', response_model=Answer)
async def edit_answer(answer_id: int, answer: PartialAnswer, conn: ConnectionUtil=get_conn) -> Answer:
    return (await conn.fetchrow('\n        UPDATE eightball SET\n            response=COALESCE($2, response),\n            weight=COALESCE($3, weight)\n        WHERE id=$1 RETURNING *;\n    ', answer_id, answer.response, answer.weight))
@api.patch('/answers/{answer_id}', response_model=Answer)
async def edit_answer(answer_id: int, answer: PartialAnswer, conn: ConnectionUtil=get_conn) -> Answer:
    return (await conn.fetchrow('\n        UPDATE eightball SET\n            response=COALESCE($2, response),\n            weight=COALESCE($3, weight)\n        WHERE id=$1 RETURNING *;\n    ', answer_id, answer.response, answer.weight))