server-client-python
server-client-python copied to clipboard
Schedule Type enum doesn't seem to include 'System'
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?