8000 refresh sample uses workbook instead of workbook id (#342) · rmagier1/server-client-python@ade073c · GitHub
[go: up one dir, main page]

Skip to content

Commit ade073c

Browse files
daniel1608shinchris
authored andcommitted
refresh sample uses workbook instead of workbook id (tableau#342)
1 parent 68a5159 commit ade073c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/refresh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def main():
4444
resource = server.workbooks.get_by_id(args.resource_id)
4545

4646
# trigger the refresh, you'll get a job id back which can be used to poll for when the refresh is done
47-
results = server.workbooks.refresh(resource)
47+
results = server.workbooks.refresh(args.resource_id)
4848
else:
4949
# Get the datasource by its Id to make sure it exists
5050
resource = server.datasources.get_by_id(args.resource_id)

0 commit comments

Comments
 (0)
0