Skip to content

Commit 47ec045

Browse files
jacalataclaude
andcommitted
Update publish_datasource header comment for build_auth
Comment claimed the sample "uses personal access tokens" for sign-in, but the file now delegates to build_auth() which supports JWT, PAT, and username/password. Reword so users see the full auth surface. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e441f16 commit 47ec045

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

samples/publish_datasource.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@
1111
# For more information, refer to the documentations:
1212
# (https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_datasources.htm#publish_data_source)
1313
#
14-
# For signing into server, this script uses personal access tokens. For
15-
# more information on personal access tokens, refer to the documentations:
14+
# Sign-in delegates to `build_auth()` in samples/_shared.py, which accepts
15+
# JWT (Connected App), personal access token, or username + password (JWT
16+
# wins over PAT wins over username/password when more than one is set).
17+
# For PATs specifically, see:
1618
# (https://help.tableau.com/current/server/en-us/security_personal_access_tokens.htm)
1719
#
1820
# To run the script, you must have installed Python 3.10 or later.

0 commit comments

Comments
 (0)