File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <tsResponse xmlns =" http://tableau.com/api" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://tableau.com/api https://help.tableau.com/samples/en-us/rest_api/ts-api_3_22.xsd" >
2+ <task >
3+ <flowRun >
4+ <flow id =" flow_id" />
5+ </flowRun >
6+ </task >
7+ <schedule createdAt =" 2023-08-17T15:36:37-0700" updatedAt =" 2023-08-17T15:36:37-0700" frequency =" Monthly" nextRunAt =" 2023-09-15T23:30:00-0700" >
8+ <frequencyDetails start =" 23:30:00" >
9+ <intervals >
10+ <interval monthDay =" 15" />
11+ </intervals >
12+ </frequencyDetails >
13+ </schedule >
14+ </tsResponse >
Original file line number Diff line number Diff line change 1010from tableauserverclient .models .task_item import TaskItem
1111
1212TEST_ASSET_DIR = Path (__file__ ).parent / "assets"
13-
14- GET_XML_NO_WORKBOOK = os .path .join (TEST_ASSET_DIR , "tasks_no_workbook_or_datasource.xml" )
15- GET_XML_WITH_WORKBOOK = os .path .join (TEST_ASSET_DIR , "tasks_with_workbook.xml" )
16- GET_XML_WITH_DATASOURCE = os .path .join (TEST_ASSET_DIR , "tasks_with_datasource.xml" )
17- GET_XML_RUN_NOW_RESPONSE = os .path .join (TEST_ASSET_DIR , "tasks_run_now_response.xml" )
18- GET_XML_CREATE_TASK_RESPONSE = os .path .join (TEST_ASSET_DIR , "tasks_create_extract_task.xml" )
19- GET_XML_WITHOUT_SCHEDULE = TEST_ASSET_DIR / "tasks_without_schedule.xml"
20- GET_XML_WITH_INTERVAL = TEST_ASSET_DIR / "tasks_with_interval.xml"
21-
2213GET_XML_CREATE_FLOW_TASK_RESPONSE = os .path .join (TEST_ASSET_DIR , "tasks_create_flow_task.xml" )
2314
2415
You can’t perform that action at this time.
0 commit comments