@app.route('/organizations/')
def organization():
  limit = int(util.param('limit', int) or flask.request.cookies.get('limit') or config.MAX_DB_LIMIT)
  order = util.param('order') or '-stars'
  if 'repo' in order:
    order = '-public_repos'

  organization_dbs, organization_cursor = model.Account.get_dbs(
      order=order,
      organization=True,
      limit=limit,
    )

  response = flask.make_response(flask.render_template(
      'account/list_organization.html',
      title='Top Organizations',
      html_class='account-organization',
      organization_dbs=organization_dbs,
      order=order,
      limit=limit,
    ))
  response.set_cookie('limit', str(limit))
  return response
dataset/ETHPy150Open lipis/github-stats/main/control/welcome.py/organization/original