Skip to content
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

Schedules cannot handle valid monthly schedules #1358

Open
jacalata opened this issue Feb 15, 2024 · 1 comment
Open

Schedules cannot handle valid monthly schedules #1358

jacalata opened this issue Feb 15, 2024 · 1 comment
Labels

Comments

@jacalata
Copy link
Contributor

The schedules code only allows the string "LastDay". (https://github.com/tableau/server-client-python/blob/b06a7a249f7b0123f8b99fc43bd45539ad5f9eec/tableauserverclient/models/interval_item.py#L249C3-L253C33)

It should also allow the strings "First", "Second"..."Fifth".
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_extract_and_encryption.htm#create_cloud_extract_refresh_task

While fixing this code, it would be ideal to reduce the duplication of elements e.g the array of valid hourly values is defined twice in the file.

@bcantoni
Copy link
Contributor

bcantoni commented May 4, 2024

Another example of this is reported in #1369 which I closed as a duplicate.

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

No branches or pull requests

2 participants