code: def consent():
      
      config = _config()
      return render_template(
          "consent.html",
          hit_id=request.args["hit_id"],
          assignment_id=request.args["assignment_id"],
          worker_id=request.args["worker_id"],
          mode=config.get("mode"),
      )
docs: Return the consent form. Here for backwards-compatibility with 2.x.