| |
- ai_api_client_sdk.models.enactment.Enactment(builtins.object)
-
- Execution
class Execution(ai_api_client_sdk.models.enactment.Enactment) |
|
Execution(id: str, configuration_id: str, configuration_name: str, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, output_artifacts: List[ai_api_client_sdk.models.artifact.Artifact] = None, status_details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, **kwargs)
The Execution object defines an execution
:param id: ID of the execution
:type id: str
:param configuration_id: ID of the configuration which configured the execution
:type configuration_id: str
:param configuration_name: Name of the configuration which configured the execution
:type configuration_name: str
:param scenario_id: ID of the scenario which the execution belongs to
:type scenario_id: str
:param status: Status of the execution
:type status: class:`ai_api_client_sdk.models.status.Status`
:param target_status: Target status of the execution
:type target_status: class:`ai_api_client_sdk.models.target_status.TargetStatus`
:param created_at: Time when the execution was created
:type created_at: datetime
:param modified_at: Time when the execution was last modified
:type modified_at: datetime
:param output_artifacts: List of the artifacts created by the execution, defaults to None
:type output_artifacts: List[class:`ai_api_client_sdk.models.artifact.Artifact`], optional
:param status_details: A dict, which gives detailed information about the status of the execution, defaults to None
:type status_details: Dict[str, Any], optional
:param submission_time: Time when the execution was submitted
:type submission_time: datetime, optional
:param start_time: Time when the execution status changed to RUNNING
:type start_time: datetime, optional
:param completion_time: Time when the execution status changed to COMPLETED/DEAD/STOPPED
:type completion_time: datetime, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
- Method resolution order:
- Execution
- ai_api_client_sdk.models.enactment.Enactment
- builtins.object
Methods defined here:
- __init__(self, id: str, configuration_id: str, configuration_name: str, scenario_id: str, status: ai_api_client_sdk.models.status.Status, target_status: ai_api_client_sdk.models.target_status.TargetStatus, created_at: datetime.datetime, modified_at: datetime.datetime, output_artifacts: List[ai_api_client_sdk.models.artifact.Artifact] = None, status_details: Dict[str, Any] = None, submission_time: datetime.datetime = None, start_time: datetime.datetime = None, completion_time: datetime.datetime = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(execution_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.execution.Execution` object, created from the values in the dict
provided as parameter
:param execution_dict: Dict which includes the necessary values to create the object
:type execution_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.execution.Execution`
Data descriptors inherited from ai_api_client_sdk.models.enactment.Enactment:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |