10000 #1464 - docs update for filtering on boolean values (#1471) · TrimPeachu/server-client-python@9a31004 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9a31004

Browse files
authored
tableau#1464 - docs update for filtering on boolean values (tableau#1471)
Add docs mention of boolean values for filtering
1 parent 6ec632e commit 9a31004

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tableauserverclient/server/request_options.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,14 @@ def get_query_params(self):
164164
raise NotImplementedError()
165165

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

172172
def parameter(self, name: str, value: str) -> Self:
173-
"""Apply a filter based on a parameter within the workbook."""
173+
"""Apply a filter based on a parameter within the workbook.
174+
Note that when filtering on a boolean type field, the only valid values are 'true' and 'false'"""
174175
self.view_parameters.append((name, value))
175176
return self
176177

0 commit comments

Comments
 (0)
0