Skip to content

csv_req_option can not filter if it's a boolean filter #1464

Closed
@irisx0719

Description

@irisx0719

Describe the bug
I tried to download the data from tableau and save it in csv format, but when I tried to filter data on a boolean filter, it doesn't work

Versions
Details of your environment, including:

  • Tableau Server version (or note if using Tableau Online): 2023.1.8
  • Python version: python 3.11.6
  • TSC library version: 0.30

To Reproduce
csv_req_option = tsc.CSVRequestOptions(maxage=5)
csv_req_option .vf('filter1', 'abc')
csv_req_option .vf('filter2', 'True')

Results

filter1 works good, because filter1 is a normal filter with option in text format, but filter2 doesn't work, because filter2 is a boolean filter. But I don't know how to put the value in req_option if I want to filter the data with boolean filter2 with filter2 =True. and I didn't see any instruction in document saying about this one.

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedA user needs help, may be a mistake, a bug or a feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions