__init__.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:chalice 作者: aws 项目源码 文件源码
def delete(ctx, profile, stage):
    # type: (click.Context, str, str) -> None
    factory = ctx.obj['factory']  # type: CLIFactory
    factory.profile = profile
    config = factory.create_config_obj(chalice_stage_name=stage)
    session = factory.create_botocore_session()
    d = factory.create_default_deployer(session=session, ui=UI())
    d.delete(config, chalice_stage_name=stage)
    remove_stage_from_deployed_values(stage, os.path.join(
        config.project_dir, '.chalice', 'deployed.json'))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号