def raise_401(instance, authenticate, msg=None):
    instance.response.status = 401
    instance.response.headers['WWW-Authenticate'] = authenticate
    if msg:
        instance.response.body_raw = {'error': msg}
    raise ResponseException(instance.response)
Find the database's default engine type.
dataset/ETHPy150Open pneff/wsgiservice/wsgiservice/status.py/raise_401--crossover with--dataset/ETHPy150Open google/mysql-tools/pylib/schema.py/Schema.GetDefaultEngine