

def get_default_ref(self, env):
    data = self.environments.get(env)
    if (not data):
        return DEFAULT_REF
    return data.get('default_ref', DEFAULT_REF)

dataset/ETHPy150Open getsentry/freight/freight/models/app.py App.get_default_ref/original