mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-17 02:39:40 +00:00
Add run lifecycle timestamps - improvments (#2601)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
parent
90feb96b0f
commit
b5bf9d291f
15 changed files with 138 additions and 1 deletions
|
@ -139,6 +139,9 @@ def convert_to_task(task_obj: TaskModel, debug_enabled: bool = False, workflow_p
|
|||
errors=task_obj.errors,
|
||||
application=task_obj.application,
|
||||
model=task_obj.model,
|
||||
queued_at=task_obj.queued_at,
|
||||
started_at=task_obj.started_at,
|
||||
finished_at=task_obj.finished_at,
|
||||
)
|
||||
return task
|
||||
|
||||
|
@ -269,6 +272,9 @@ def convert_to_workflow_run(
|
|||
webhook_callback_url=workflow_run_model.webhook_callback_url,
|
||||
totp_verification_url=workflow_run_model.totp_verification_url,
|
||||
totp_identifier=workflow_run_model.totp_identifier,
|
||||
queued_at=workflow_run_model.queued_at,
|
||||
started_at=workflow_run_model.started_at,
|
||||
finished_at=workflow_run_model.finished_at,
|
||||
created_at=workflow_run_model.created_at,
|
||||
modified_at=workflow_run_model.modified_at,
|
||||
workflow_title=workflow_title,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue