-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Labels
enhancementfixedhelp wantedA user needs help, may be a mistake, a bug or a feature requestA user needs help, may be a mistake, a bug or a feature request
Description
Hi,
I was trying to refresh datasources from the tsc package.
My Tableau Server version is 2019.3
I used the following code:
selected_datasource = server.datasources.get_by_id(dat_id)
server.datasources.refresh(selected_datasource)
It refreshed successfully.
I was able to get all the jobs in a similar fashion:
request_options = tsc.RequestOptions(pagesize=50)
request_options.sort.add(tsc.Sort(tsc.RequestOptions.Field.CreatedAt, tsc.RequestOptions.Direction.Desc))
all_jobs, job_pagination_item = server.jobs.get(request_options)
When I give job.status I could get whether the job is success/in progress.
But I could not obtain more details of the job like the one shown below from the Tableau Server webUI.
The job content is the one i require, that is here it is the datasource item.
Is there a way to get this detail as of now?
Metadata
Metadata
Assignees
Labels
enhancementfixedhelp wantedA user needs help, may be a mistake, a bug or a feature requestA user needs help, may be a mistake, a bug or a feature request
