8000 Added a functionality to move an existing project (change it's parent_id) by update method by wolkiewiczk · Pull Request #560 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Added a functionality to move an existing project (change it's parent_id) by update method #560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 12, 2020
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
2 changes: 2 additions & 0 deletions tableauserverclient/server/request_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def update_req(self, project_item):
project_element.attrib['description'] = project_item.description
if project_item.content_permissions:
project_element.attrib['contentPermissions'] = project_item.content_permissions
if project_item.parent_id:
project_element.attrib['parentProjectId'] = project_item.parent_id
return ET.tostring(xml_request)

def create_req(self, project_item):
Expand Down
384C
0