Skip to content

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

@ryanstryker

Description

@ryanstryker

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions