rich-policeman-92383
02/10/2022, 7:45 AMsource:
type: tableau
config:
connect_uri: <https://mytableau.com>
site: Default
env: "Test"
#projects: ["default", "Project 2"]
#username: <mailto:username@acrylio.com|username@acrylio.com>
#password: pass
token_name: "root"
token_value: "fnsdifnsdkfnsdjfn8r834hr837fb"
#ingest_tags: True
ingest_owner: True
#default_schema_map:
# mydatabase: public
# anotherdatabase: anotherschema
sink:
type: "datahub-rest"
config:
server: "<http://localhost:8080>"
brainy-wall-41694
02/10/2022, 10:41 AMrich-policeman-92383
02/14/2022, 8:34 AMshy-parrot-64120
02/14/2022, 8:33 PMshy-parrot-64120
02/14/2022, 8:42 PMauth
method with user/pass or token
2. use received session_token in api calls
we’ve done like this
auth = tsc.TableauAuth(
username=username,
password=password,
site=site
)
server = tsc.Server(url, use_server_version=True)
with server.auth.sign_in(auth):
server.datasources.<use_class_methods_stuff>
shy-parrot-64120
02/14/2022, 9:25 PM