8000 Fix serialization error in WB request generation (#449) · ecmyhre/server-client-python@fa818d5 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa818d5

Browse files
jacobj10t8y8
authored andcommitted
Fix serialization error in WB request generation (tableau#449)
1 parent ea437a2 commit fa818d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/server/request_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def _generate_xml(self, workbook_item, connection_credentials=None, connections=
363363
if workbook_item.show_tabs:
364364
workbook_element.attrib['showTabs'] = str(workbook_item.show_tabs).lower()
365365
project_element = ET.SubElement(workbook_element, 'project')
366-
project_element.attrib['id'] = workbook_item.project_id
366+
project_element.attrib['id'] = str(workbook_item.project_id)
367367

368368
if connection_credentials is not None and connections is not None:
369369
raise RuntimeError('You cannot set both `connections` and `connection_credentials`')

0 commit comments

Comments
 (0)
0