Skip to content

taipy.core.Submission

Bases: _Entity, _Labeled

Hold the jobs and submission status when a Scenario^, Sequence^ or Task^ is submitted.

Attributes:

Name Type Description
entity_id str

The identifier of the entity that was submitted.

id str

The identifier of the Submission entity.

jobs Optional[Union[List[Job], List[JobId]]]

A list of jobs.

properties dict[str, Any]

A dictionary of additional properties.

creation_date Optional[datetime]

The date of this submission's creation.

submission_status Optional[SubmissionStatus]

The current status of this submission.

version Optional[str]

The string indicates the application version of the submission to instantiate. If not provided, the latest version is used.

__new_id() staticmethod

Generate a unique Submission identifier.

get_label()

Returns the submission simple label prefixed by its owner label.

Returns:

Type Description
str

The label of the submission as a string.

get_simple_label()

Returns the submission simple label.

Returns:

Type Description
str

The simple label of the submission as a string.

is_deletable()

Indicate if the submission can be deleted.

Returns:

Type Description
bool

True if the submission can be deleted. False otherwise.

is_finished()

Indicate if the submission is finished.

Returns:

Type Description
bool

True if the submission is finished.