title: Using URL path variables with Python Google Cloud Functions
body: <p>Has anybody been able to get URL path variables working with Google Cloud Functions written in Python?</p>
  
  <p>Using Flask directly, it's pretty trivial:</p>
  
  <pre><code>@app.route('/user/&lt;username&gt;')
  def show_user_profile(username):
      return 'User %s' % escape(username)
  </code></pre>
  
  <p>But Google Cloud Functions don't seem to recognize that it needs to pass the "username" param to the function call. Instead, GCF always seems to pass Flask's "Request" object to the function call.</p>
  
  <p>Flask also allows you to access path variables with Request.view_args but that doesn't seem to work on GCP either. It comes in empty.</p>
  
  <p>Has anyone else tried this?</p>