10000 #1464 - docs update for filtering on boolean values by jacalata · Pull Request #1471 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

#1464 - docs update for filtering on boolean values #1471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tableauserverclient/server/request_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,13 +164,14 @@ def get_query_params(self):
raise NotImplementedError()

def vf(self, name: str, value: str) -> Self:
"""Apply a filter to the view for a filter that is a normal column
within the view."""
"""Apply a filter based on a column within the view.
Note that when filtering on a boolean type field, the only valid values are 'true' and 'false'"""
self.view_filters.append((name, value))
return self

def parameter(self, name: str, value: str) -> Self:
"""Apply a filter based on a parameter within the workbook."""
""&qu 5547 ot;Apply a filter based on a parameter within the workbook.
Note that when filtering on a boolean type field, the only valid values are 'true' and 'false'"""
self.view_parameters.append((name, value))
return self

Expand Down
Loading
0