You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8776be0
Browse filesBrowse the repository at this point in the historyBrowse files
Remove docs that depend on other PRs; guard the metadata example
- DatabaseItem.content_permissions: drop the value list and the claim
that databases.update sends it (not true on development; the write
and the LockedToDatabase value come with #1901).
- Drop the explore_databases_tables.py references (sample is in #1907).
- Handle empty results in the databases.populate_tables example.
Co-Authored-By: Claude Code <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/api-ref.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2473,7 +2473,7 @@ Name | Description
2473
2473
`connection_type` | The connection type of the database, for example `sqlserver` or `hyper`. Read-only.
2474
2474
`connector_url` | The connector URL of the database. Read-only.
2475
2475
`contact_id` | The ID of the user who is the contact for the database. Settable; sent to the server by `databases.update`.
2476
-
`content_permissions` | The permission mode of the database, as returned by the server. Must be one of `DatabaseItem.ContentPermissions.LockedToProject` (value `"LockedToDatabase"`) or `DatabaseItem.ContentPermissions.ManagedByOwner` (value `"ManagedByOwner"`). Can be set on the object, and `databases.update`sends it to the server.
2476
+
`content_permissions` | The permission mode of the database, as returned by the server. `databases.update`does not send this value.
2477
2477
`default_table_permissions` | The default permissions for tables in the database, as a list of `PermissionsRule` objects. You must first call `databases.populate_table_default_permissions` to access this data.
2478
2478
`description` | The description of the database. Settable; sent to the server by `databases.update` when it is not empty.
2479
2479
`dqws` | The list of data quality warnings (`DQWItem`) for the database. You must first call `databases.populate_dqw` to access this data.
This method is not currently enabled. It is gated on a placeholder minimum version (`99`), so calling it raises `EndpointUnavailableError` on every Tableau Server and Tableau Cloud version. The REST API reference does not document an endpoint that lists the tables in a database.
2689
2689
2690
-
To find the tables in a database, query the Metadata API with [metadata.query](#metadataquery) and read the matching tables with `tables.get_by_id`. The `explore_databases_tables.py` sample shows this approach.
2690
+
To find the tables in a database, query the Metadata API with [metadata.query](#metadataquery) and read the matching tables with `tables.get_by_id`.
Copy file name to clipboardExpand all lines: docs/samples.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,6 @@ The following list describes the samples available in the repository:
46
46
*`create_project.py` Creates a project in a site.
47
47
*`create_schedules.py` Creates schedules for extract refreshes and subscriptions.
48
48
*`create_user.py` Creates a user on a site.
49
-
*`explore_databases_tables.py` Queries databases, shows one database's details, lists its tables, then populates and lists the columns of one table. Optionally shows database and table permissions.
50
49
*`explore_datasource.py` Queries datasources, selects a datasource, populates connections for the datasource, then updates the datasource.
51
50
*`explore_favorites.py` Queries favorites and optionally add or delete favorites.
52
51
*`explore_site.py` Interacts with sites (create, delete, and so on).
0 commit comments