title: Return all possible filter values with tableau server client for python
body: <p>I am using the Tableau Server REST API via the python server client library (<a href="https://github.com/tableau/server-client-python" rel="nofollow noreferrer">https://github.com/tableau/server-client-python</a>) to automatically download pdf versions of several tableau workbook views.</p>
  <p>For each pdf export I am filtering the Tableau view according to set parameter values. Currently, all possible parameter values are specified manually but I would like to instead find all possible options and loop over those (generating one pdf per filter option). Is that possible?</p>
  <p>A small example code where a tableau view is filtered on the parameter country and possible values &quot;Sweden&quot; and &quot;Norway&quot;:</p>
  <pre><code>import tableauserverclient as TSC 
  
  Parameters = [{&quot;Parameter Name&quot; : &quot;Country&quot;, &quot;ParameterValue&quot; : &quot;Sweden&quot;}, 
                {&quot;Parameter Name&quot; : &quot;Country&quot;, &quot;ParameterValue&quot; : &quot;Norway&quot;}]
  
  for params in Parameters:
        image_req_options = TSC.PDFRequestOptions()
        image_req_options.vf(params[&quot;ParameterName&quot;], params[&quot;ParameterValue&quot;]
  
        server.views.populate_pdf(view, image_req_options)
        with open('output_pdf_{}.pdf'.format(params[&quot;ParameterValue&quot;]), 'wb') as f:
             f.write(view.pdf)
  </code></pre>
  <p>Instead of defining the Parameters list of dictionaries I would like to find all possible ParameterValues for the Parameter Country.</p>