get_latest_job() function
Return the latest job of a task.
This function retrieves the latest job associated with a task.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
task
|
Task
|
The task to retrieve the latest job from. |
required |
Returns:
| Type | Description |
|---|---|
Optional[Job]
|
The latest job created from task, or None if no job has been created from task. |