app.py 文件源码

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

项目:Slack-Python-Onboarding-Tutorial 作者: slackapi 项目源码 文件源码
def pre_install():
    """This route renders the installation page with 'Add to Slack' button."""
    # Since we've set the client ID and scope on our Bot object, we can change
    # them more easily while we're developing our app.
    client_id = pyBot.oauth["client_id"]
    scope = pyBot.oauth["scope"]
    # Our template is using the Jinja templating language to dynamically pass
    # our client id and scope
    return render_template("install.html", client_id=client_id, scope=scope)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号