app.py 文件源码

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

项目:first_timer_scraper 作者: niccokunzmann 项目源码 文件源码
def get_all_organizations(ending):
    """List all organizations with links to their statuses."""
    start = int(request.query.get("offset", 0))
    count = min(int(request.query.get("limit", DEFAULT_PAGINATION_COUNT)), MAX_PAGINATION_COUNT)
    if ending == "json":
        return api.get_organizations(start, count)
    return template("organizations.html", start=start, count=count)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号