tableau / server-client-python

A Python library for the Tableau Server REST API
https://tableau.github.io/server-client-python/
MIT License
655 stars 420 forks source link

Retrieving subscriptions failed for frequency = Daily, hour (interval) = 24 #1364

Closed ryanstryker closed 3 months ago

ryanstryker commented 5 months ago

tableau_server.subscriptions fails if any subscriptions have schedule frequency="Daily" & interval hours="24"

Versions

To Reproduce tableau_server_obj.subscriptions

Results ValueError: Invalid interval 24.0 not in {0.25, 0.5, 2, 1, 4, 6, 8, 12}

To fix update interval_item.py, line 139:

VALID_INTERVALS = {0.25, 0.5, 1, 2, 4, 6, 8, 12, 24}
jorwoods commented 5 months ago

Duplicate of #1354

jacalata commented 3 months ago

fixed in https://github.com/tableau/server-client-python/pull/1355