__init__.py 文件源码

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

项目:fallball-connector 作者: ingrammicro 项目源码 文件源码
def get_reseller_info():
    reseller_id = request.headers.get('Aps-Instance-Id')
    is_new = g.endpoint == ApplicationList.__name__.lower()
    reseller_name = set_name_for_reseller(reseller_id)
    oauth = get_oauth()
    return ResellerInfo(id=reseller_id, name=reseller_name, is_new=is_new, auth=oauth)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号