Skip to content
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
8 changes: 4 additions & 4 deletions tableauserverclient/server/endpoint/workbooks_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def update(self, workbook_item):
url = "{0}/{1}".format(self.baseurl, workbook_item.id)
update_req = RequestFactory.Workbook.update_req(workbook_item)
server_response = self.put_request(url, update_req)
logger.info('Updated workbook item (ID: {0}'.format(workbook_item.id))
logger.info('Updated workbook item (ID: {0})'.format(workbook_item.id))
updated_workbook = copy.copy(workbook_item)
return updated_workbook._parse_common_tags(server_response.content, self.parent_srv.namespace)

Expand All @@ -104,8 +104,8 @@ def update_connection(self, workbook_item, connection_item):
server_response = self.put_request(url, update_req)
connection = ConnectionItem.from_response(server_response.content, self.parent_srv.namespace)[0]

logger.info('Updated workbook item (ID: {0} & connection item {1}'.format(workbook_item.id,
connection_item.id))
logger.info('Updated workbook item (ID: {0} & connection item {1})'.format(workbook_item.id,
connection_item.id))
return connection

# Download workbook contents with option of passing in filepath
Expand Down Expand Up @@ -151,7 +151,7 @@ def view_fetcher():
return self._get_views_for_workbook(workbook_item, usage)

workbook_item._set_views(view_fetcher)
logger.info('Populated views for workbook (ID: {0}'.format(workbook_item.id))
logger.info('Populated views for workbook (ID: {0})'.format(workbook_item.id))

def _get_views_for_workbook(self, workbook_item, usage):
url = "{0}/{1}/views".format(self.baseurl, workbook_item.id)
Expand Down