8000 black format samples · tableau/server-client-python@1427a28 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1427a28

Browse files
committed
black format samples
1 parent 4a926ab commit 1427a28

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

samples/explore_favorites.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def main():
4646
# get list of workbooks
4747
all_workbook_items, pagination_item = server.workbooks.get()
4848
if all_workbook_items is not None and len(all_workbook_items) > 0:
49-
5049
my_workbook = all_workbook_items[0]
5150
server.favorites.add_favorite(user, Resource.Workbook, all_workbook_items[0])
5251
print(

samples/filter_sort_groups.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ def main():
105105
print(a)
106106
groups = [urllib.parse.quote_plus(group) for group in ["SALES NORTHWEST", "SALES ROMANIA", "this_group"]]
107107
print(groups)
108-
108+
109109
# BUG: this loop seems to continue making requests long after we've seen all groups
110-
#for group in server.groups.filter(name__in=groups).order_by("-name"):
110+
# for group in server.groups.filter(name__in=groups).order_by("-name"):
111111
# print(group.name)
112-
112+
113113
print("done")
114114

115115

0 commit comments

Comments
 (0)
0