code: def rate():
      
      auth = request.authorization
  
      if not auth or not check_auth(auth.username, auth.password):
          return "60/minute"
      else:
          return "600/minute"
docs: Set rate limits for authenticated and nonauthenticated users.