File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<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 >
2+ <task >
3+ <flowRun id =" 4d49655a-0f3a-45cc-ba61-b108a763e83a"
4+ priority =" 50"
5+ consecutiveFailedCount =" 0"
6+ type =" RunFlowTask" >
7+ <schedule id =" 1060dcb7-fef7-4fb1-8d3b-d0f042932d1a"
8+ name =" SSS_e95a9d25-c616-4542-87b6-3725975bdfbd"
9+ state =" Active"
10+ priority =" 50"
11+ createdAt =" 2024-04-09T18:54:12Z"
12+ updatedAt =" 2024-04-09T18:54:12Z"
13+ type =" Flow"
14+ frequency =" Daily"
15+ nextRunAt =" 2024-04-10T19:30:00Z" />
16+ <flow id =" dd3cd2e7-2ede-49c6-945f-e7b2a2f25541"
17+ name =" olympic 1" >
18+ </flow >
19+ <flowRunSpec flowId =" dd3cd2e7-2ede-49c6-945f-e7b2a2f25541" >
20+ <flowOutputSteps >
21+ <flowOutputStep id =" 485c8b5f-5647-466c-b549-e38410b7c7c8"
22+ name =" Output" />
23+ </flowOutputSteps >
24+ <flowParameterSpecs />
25+ </flowRunSpec >
26+ </flowRun >
27+ </task >
1428</tsResponse >
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ def setUp(self):
2727 def test_create_flow_task (self ):
2828 monthly_interval = TSC .MonthlyInterval (start_time = time (23 , 30 ), interval_value = 15 )
2929 monthly_schedule = TSC .ScheduleItem (
30- None ,
31- None ,
32- None ,
33- None ,
30+ "Monthly Schedule" ,
31+ 50 ,
32+ TSC . ScheduleItem . Type . Flow ,
33+ TSC . ScheduleItem . ExecutionOrder . Parallel ,
3434 monthly_interval ,
3535 )
3636 target_item = TSC .Target ("flow_id" , "flow" )
You can’t perform that action at this time.
0 commit comments