8000 Problem when instantiating Tasks in the tableauserver when they have no Schedule assigned · Issue #1290 · tableau/server-client-python · GitHub
[go: up one dir, main page]

Skip to content

Problem when instantiating Tasks in the tableauserver when they have no Schedule assigned #1290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danignraku opened this issue Oct 10, 2023 · 1 comment

Comments

@danignraku
Copy link

Describe the bug
In our Tableau Site we don't use schedules for tasks, and when trying to fetch the issues from the endpoint, it fails.

Versions
Details of your environment, including:

  • Tableau Server Online
  • Python 3.9
  • TSC library version v0.28

To Reproduce
In a server without Schedules, try to get tasks with, for example:
req_option = tsc.RequestOptions(pagesize=1000) all_extracts, pagination_item = server.tasks.get(req_option)

Results
It fails because there is no name for schedules.

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

The solution is to make the schedule optional for the tasks, as those can be created without schedules.

@danignraku
Copy link
Author

The solution is pretty easy. In task_item:
image
and
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0