-
Notifications
You must be signed in to change notification settings - Fork 417
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
server.tasks ValueError: name must be defined. #1237
Comments
We are facing the same issue. Seems like a change in tableau backend. Please advice. |
seems like element object <Element '{http://tableau.com/api}schedule' at 0x7fdda840e1d0> , schedule_xml.items()
[('frequency', 'Monthly'), ('nextRunAt', '2023-06-01T09:00:00Z')] the name is not presented in the response from tableau.com |
Yes, it is a server change, the fix will be to remove the non-nullable attribute so the library accepts the new object. |
Hi @jacalata, is there a way to prioritize this bug or at least getting some ETA for a fix? Thanks |
@pavel-sho Out of curiosity, is this supposed to return flow tasks as well? When I attempt to retrieve all tasks, I can only ever retrieve those associated with Extract Refreshes, despite being able to view those associated with Flows, Subscriptions, Alerts, and Linked Task on Tableau Server's front-end as a site admin. |
Hi @SQLShortReads, you right, the purpose we use tasks service, is to check which workbook_id / datasource_id has incremental refresh, if there is any we trigger it, as part of orchestration we do via Airflow, currently Tableau supports only full refresh when using their Airflow Operator, supporting incremental refresh require some dirty tricks. |
Hey all, because I keep getting the short end with Tableau Support (a repeat trend for my org, how about you all?), I made a hotfix for this. Check the PR out above, there's only a few small changes you need to do to fix this bug. If you need to apply it yourself to patch a pip installed copy and don't know how to make a modified package from a git yourself, here's my lazy approach:
|
Has anyone been able to successfully retrieve data on scheduled flow tasks? As previously stated, only extractRefresh tasks seem to be returned by server.tasks. To be clear, in the front-end UI, there are 6 categories of tasks, and server.tasks only returns those tasks that are of Extract Refresh type. |
Co-authored-by: Tim Payne <47423639+ma7tcsp@users.noreply.github.com> Hotfix for #1237
Co-authored-by: Tim Payne <47423639+ma7tcsp@users.noreply.github.com> Hotfix for #1237
Describe the bug
I can use this code to get all tasks in my tableau online since last year. But today this code return error like this. How to fix the error?
Versions
Details of your environment, including:
To Reproduce
Steps to reproduce the behavior. Please include a code snippet where possible.
Results
What are the results or error messages received?
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.
The text was updated successfully, but these errors were encountered: