'A shortcut property for settings of a stage.'

@property
def stage_config(self):

    def get_stage_setting(stage, extended_stages=None):
        if (extended_stages is None):
            extended_stages = []
        if (stage in extended_stages):
            raise RuntimeError((stage + u'    has    already    been    extended    to    these    settings.    There    is    a    circular    extends    within    the    settings    file.'))
        extended_stages.append(stage)
        try:
            stage_settings = dict(self.zappa_settings[stage].copy())
        except KeyError:
            raise ClickException(((u"Cannot    extend    settings    for    undefined    stage    '" + stage) + u"'."))
        extends_stage = self.zappa_settings[stage].get(u'extends', None)
        if (not extends_stage):
            return stage_settings
        extended_settings = get_stage_setting(stage=extends_stage, extended_stages=extended_stages)
        extended_settings.update(stage_settings)
        return extended_settings
    settings = get_stage_setting(stage=self.api_stage)
    if (u'delete_zip' in settings):
        settings[u'delete_local_zip'] = settings.get(u'delete_zip')
    settings.update(self.stage_config_overrides)
    return settings
