@@ -143,6 +143,13 @@ class WorkflowsOutput:
143143 QueueName : Optional [str ]
144144 ApplicationVersion : Optional [str ]
145145 ExecutorID : Optional [str ]
146+ WorkflowTimeoutMS : Optional [str ]
147+ WorkflowDeadlineEpochMS : Optional [str ]
148+ DeduplicationID : Optional [str ]
149+ Priority : Optional [str ]
150+ QueuePartitionKey : Optional [str ]
151+ ForkedFrom : Optional [str ]
152+ ForkedTo : Optional [list [str ]]
146153
147154 @classmethod
148155 def from_workflow_information (cls , info : WorkflowStatus ) -> "WorkflowsOutput" :
@@ -152,12 +159,22 @@ def from_workflow_information(cls, info: WorkflowStatus) -> "WorkflowsOutput":
152159 inputs_str = str (info .input ) if info .input is not None else None
153160 outputs_str = str (info .output ) if info .output is not None else None
154161 error_str = str (info .error ) if info .error is not None else None
155- request_str = None
156162 roles_str = (
157163 str (info .authenticated_roles )
158164 if info .authenticated_roles is not None
159165 else None
160166 )
167+ workflow_timeout_ms_str = (
168+ str (info .workflow_timeout_ms )
169+ if info .workflow_timeout_ms is not None
170+ else None
171+ )
172+ workflow_deadline_epoch_ms_str = (
173+ str (info .workflow_deadline_epoch_ms )
174+ if info .workflow_deadline_epoch_ms is not None
175+ else None
176+ )
177+ priority_str = str (info .priority ) if info .priority is not None else None
161178
162179 return cls (
163180 WorkflowUUID = info .workflow_id ,
@@ -176,6 +193,13 @@ def from_workflow_information(cls, info: WorkflowStatus) -> "WorkflowsOutput":
176193 QueueName = info .queue_name ,
177194 ApplicationVersion = info .app_version ,
178195 ExecutorID = info .executor_id ,
196+ WorkflowTimeoutMS = workflow_timeout_ms_str ,
197+ WorkflowDeadlineEpochMS = workflow_deadline_epoch_ms_str ,
198+ DeduplicationID = info .deduplication_id ,
199+ Priority = priority_str ,
200+ QueuePartitionKey = info .queue_partition_key ,
201+ ForkedFrom = info .forked_from ,
202+ ForkedTo = info .forked_to ,
179203 )
180204
181205
@@ -186,14 +210,28 @@ class WorkflowSteps:
186210 output : Optional [str ]
187211 error : Optional [str ]
188212 child_workflow_id : Optional [str ]
213+ started_at_epoch_ms : Optional [str ]
214+ completed_at_epoch_ms : Optional [str ]
189215
190216 @classmethod
191217 def from_step_info (cls , info : StepInfo ) -> "WorkflowSteps" :
192218 output_str = str (info ["output" ]) if info ["output" ] is not None else None
193219 error_str = str (info ["error" ]) if info ["error" ] is not None else None
220+ started_at_str = (
221+ str (info ["started_at_epoch_ms" ])
222+ if info ["started_at_epoch_ms" ] is not None
223+ else None
224+ )
225+ completed_at_str = (
226+ str (info ["completed_at_epoch_ms" ])
227+ if info ["completed_at_epoch_ms" ] is not None
228+ else None
229+ )
194230 return cls (
195231 function_id = info ["function_id" ],
196232 function_name = info ["function_name" ],
233+ started_at_epoch_ms = started_at_str ,
234+ completed_at_epoch_ms = completed_at_str ,
197235 output = output_str ,
198236 error = error_str ,
199237 child_workflow_id = info ["child_workflow_id" ],
0 commit comments