8000 docs: reflect deprecated removals and updates · tableau/server-client-python@067ef5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 067ef5a

Browse files
committed
docs: reflect deprecated removals and updates
1 parent 9dccda9 commit 067ef5a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

docs/api-ref.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,9 +2061,9 @@ Name | Description
20612061
```
20622062

20632063

2064-
#### projects.update_permission
2064+
#### projects.update_permissions
20652065
```py
2066-
projects.update_permission(item, rules)
2066+
projects.update_permissions(item, rules)
20672067
```
20682068

20692069
Add project permissions for a user or group.
@@ -2096,7 +2096,7 @@ Name | Description
20962096
capabilities=project_capabilities
20972097
)
20982098

2099-
server.projects.update_permission(project_item, [project_rules])
2099+
server.projects.update_permissions(project_item, [project_rules])
21002100
```
21012101

21022102

@@ -5254,7 +5254,7 @@ print(workbook.name)
52545254
#### workbooks.publish
52555255

52565256
```py
5257-
workbooks.publish(workbook_item, file_path, publish_mode, connections, skip_connection_check, as_job, hidden_views)
5257+
workbooks.publish(workbook_item, file_path, publish_mode, connections, skip_connection_check, as_job)
52585258
```
52595259

52605260
Publish a workbook to the specified site.
@@ -5278,10 +5278,8 @@ Name | Description
52785278
`file` | The file path or file object of the workbook to publish. When providing a file object, you must also specifiy the name of the workbook in your instance of the `workbook_item``workbook_item` , as the name cannot be derived from the file name.
52795279
`mode` | Specifies whether you are publishing a new workbook (`CreateNew`) or overwriting an existing workbook (`Overwrite`). You cannot appending workbooks. You can also use the publish mode attributes, for example: `TSC.Server.PublishMode.Overwrite`.
52805280
`connections` | List of `ConnectionItems` objects for the connections created within the workbook.
5281-
`connection_credentials` | (Optional) The credentials (if required) to connect to the workbook's data source. The `ConnectionCredentials` object contains the authentication information for the data source (user name and password, and whether the credentials are embedded or OAuth is used). **Deprecated since API server version 2.3.**
52825281
`skip_connection_check` | (Optional) Set to `True` to skip connection check at time of upload. Publishing will succeed but unchecked connection issues may result in a non-functioning workbook. Defaults to `False`.
52835282
`as_job` | (Optional) Set to `True` to run the upload as a job (asynchronous upload). If set to `True` a job will start to perform the publishing process and a `Job` object is returned. Defaults to `False`.
5284-
`hidden_views` | (Optional) List of string names of views that need to be hidden when the workbook is published.
52855283

52865284

52875285

@@ -5701,7 +5699,7 @@ None. The preview image is added to the view.
57015699
#### workbooks.update_connection
57025700

57035701
```py
5704-
workbooks.update_conn(workbook_item, connection_item)
5702+
workbooks.update_connection(workbook_item, connection_item)
57055703
```
57065704

57075705
Updates a workbook connection information (server address, server port, user name, and password).
@@ -5739,7 +5737,7 @@ connection.username = 'USERNAME'
57395737
connection.password = 'PASSWORD'
57405738

57415739
# call the update method
5742-
server.workbooks.update_conn(workbook, connection)
5740+
server.workbooks.update_connection(workbook, connection)
57435741
```
57445742

57455743
<br>

0 commit comments

Comments
 (0)
2A5A
0