def get_identity_attributes(app=None):
    app = app or current_app
    attrs = app.config['SECURITY_USER_IDENTITY_ATTRIBUTES']
    try:
        attrs = [f.strip() for f in attrs.split(',')]
    except __HOLE__:
        pass
    return attrs
dataset/ETHPy150Open mattupstate/flask-security/flask_security/utils.py/get_identity_attributes