get_latest_submission() function
Return the latest submission of a scenario, sequence or task.
This function retrieves the latest submission associated with a scenario, sequence or task.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
entity |
Union[Scenario, Sequence, Task]
|
The scenario, sequence or task to retrieve the latest submission from. |
required |
Returns:
Type | Description |
---|---|
Optional[Submission]
|
The latest submission created from scenario, sequence and task, or None |
Optional[Submission]
|
if no submission has been created from scenario, sequence and task. |