We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebacfe5 commit 4cbd800Copy full SHA for 4cbd800
samples/login.py
@@ -36,7 +36,7 @@ def main():
36
if args.username:
37
# Trying to authenticate using username and password.
38
password = getpass.getpass("Password: ")
39
- tableau_auth = TSC.TableauAuth(args.username, password)
+ tableau_auth = TSC.TableauAuth(args.username, password, site_id=args.sitename)
40
with server.auth.sign_in(tableau_auth):
41
print('Logged in successfully')
42
0 commit comments