We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 150a79c commit 66f420bCopy full SHA for 66f420b
1 file changed
tableauserverclient/server/endpoint/projects_endpoint.py
@@ -62,6 +62,7 @@ def update(self, project_item: ProjectItem, samples: bool = False) -> ProjectIte
62
63
@api(version="2.0")
64
def create(self, project_item: ProjectItem, samples: bool = False) -> ProjectItem:
65
+ params = {"params": {RequestOptions.Field.PublishSamples: samples }}
66
url = self.baseurl
67
create_req = RequestFactory.Project.create_req(project_item)
68
server_response = self.post_request(url, create_req, XML_CONTENT_TYPE, params)
0 commit comments