10000 docs: chaining filters · tableau/server-client-python@bd1b86c · GitHub
[go: up one dir, main page]

Skip to content

Commit bd1b86c

Browse files
committed
docs: chaining filters
1 parent 8410b67 commit bd1b86c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/filter-sort.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ workbooks = workbooks.filter(project_name=project_name)
165165
# multiple filters can be added in a single line
166166
workbooks = workbooks.filter(project_name=project_name, owner_name=owner_name, size__gte=1000)
167167

168+
# Multiple filters can be added through chaining.
169+
workbooks = workbooks.filter(project_name=project_name).filter(owner_name=owner_name).filter(size__gte=1000)
170+
168171
# Find all views in a project, with a specific tag
169172
views = server.views.filter(project_name=project_name, tags="stale")
170173

0 commit comments

Comments
 (0)
0