def fetchone_as_namedtuple(cursor):
    Result = _namedtuple_from_cursor(cursor)
    row = cursor.fetchone()
    return Result(*row)
fresh csp policy
dataset/ETHPy150Open dimagi/commcare-hq/corehq/form_processor/utils/sql.py/fetchone_as_namedtuple--crossover with--dataset/ETHPy150Open twaldear/flask-secure-headers/flask_secure_headers/headers.py/CSP.rewrite_policy