Skip to content

Commit 0b3dc62

Browse files
authored
Added functionality to update projects' parent_id (#560)
1 parent 15ee44b commit 0b3dc62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tableauserverclient/server/request_factory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ def update_req(self, project_item):
249249
project_element.attrib['description'] = project_item.description
250250
if project_item.content_permissions:
251251
project_element.attrib['contentPermissions'] = project_item.content_permissions
252+
if project_item.parent_id:
253+
project_element.attrib['parentProjectId'] = project_item.parent_id
252254
return ET.tostring(xml_request)
253255

254256
def create_req(self, project_item):

0 commit comments

Comments
 (0)