8000 Merge pull request #476 from tableau/irwando-patch-3 · SnarkyPapi/server-client-python@0d55570 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d55570

Browse files
authored
Merge pull request tableau#476 from tableau/irwando-patch-3
Update api-ref.md
2 parents 8ab1345 + f4bcafe commit 0d55570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api-ref.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ The `DatasourceItem` for the data source that was added or appended to.
570570
datasource.update(datasource_item)
571571
```
572572

573-
Updates the owne 84CD r, or project of the specified data source.
573+
Updates the owner or project of the specified data source. Data source name cannot be updated.
574574

575575
REST API: [Update Datasource](https://onlinehelp.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref.htm#update_data_source){:target="_blank"}
576576

@@ -605,7 +605,7 @@ An updated `DatasourceItem`.
605605
datasource = server.datasources.get_by_id('1a2a3b4b-5c6c-7d8d-9e0e-1f2f3a4a5b6b')
606606

607607
# do some updating
608-
datasource.name = 'New Name'
608+
datasource.owner_id = 'New Owner ID'
609609

610610
# call the update method with the data source item
611611
updated_datasource = server.datasources.update(datasource)

0 commit comments

Comments
 (0)
0