server-client-python icon indicating copy to clipboard operation
server-client-python copied to clipboard

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

Open ryanstryker opened this issue 11 months ago • 1 comments

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

Versions

  • Tableau Cloud: 2024.1.0
  • Python version: 3.11.4
  • TSC library version: 0.30

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}

ryanstryker avatar Mar 15 '24 16:03 ryanstryker

Duplicate of #1354

jorwoods avatar Mar 18 '24 03:03 jorwoods

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

jacalata avatar May 09 '24 23:05 jacalata