Skip to content

Schedule Type enum doesn't seem to include 'System' #1349

@mafleming97045

Description

@mafleming97045

Our admins have created Tableau schedules of type 'System'. When I run a GET schedules request in Postman, I receive a schedule like this:

<schedule id="f42ecaaf-eff3-4deb-b77b-bd3458619688" name="Weekly Tuesday 8 AM" state="Active" priority="50" createdAt="2021-06-24T13:56:24Z" updatedAt="2024-01-23T16:00:41Z" type="System" frequency="Weekly" nextRunAt="2024-01-30T16:00:00Z"/>

This type causes the property_decorators in this API to fail:

File "envs\debug_old\lib\site-packages\tableauserverclient\models\schedule_item.py", line 49, in __init__
  self.schedule_type: str = schedule_type
File "envs\debug_old\lib\site-packages\tableauserverclient\models\property_decorators.py", line 14, in wrapper
  raise ValueError(error)
ValueError: Invalid value: System. schedule_type must be of type Type.

If the real issue is a missing type, can 'System' be added to the Schedule Type values?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions