def hide_profile_secrets(profile):
    secrets = [
        "wordpress_api_key"
    ]
    try:
        for key in secrets:
            delattr(profile, key)
    except (__HOLE__, KeyError):
        pass

    return profile
dataset/ETHPy150Open Impactstory/total-impact-webapp/totalimpactwebapp/profile.py/hide_profile_secrets