def get_gce_project_id():
    try:
        r = requests.get(
            METADATA_ENDPOINT + '/project/project-id',
            headers={'Metadata-Flavor': 'Google'},
            timeout=2)

        r.raise_for_status()

        return r.text

    except:
        return None
Forgot username form page.
dataset/ETHPy150Open jonparrott/noel/noel/noel/builder/gcp.py/get_gce_project_id--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/users/views.py/forgot_username