ai_api_client_sdk.models.executable module

class ai_api_client_sdk.models.executable.Executable(id: str, scenario_id: str, version_id: str, name: str, deployable: bool, created_at: datetime, modified_at: datetime, description: str = None, parameters: List[Parameter] = None, input_artifacts: List[InputArtifact] = None, output_artifacts: List[OutputArtifact] = None, labels: List[Label] = None, **kwargs)

Bases: object

The Executable object defines an executable :param id: ID of the Executable :type id: str :param scenario_id: ID of the scenario which the executable belongs to :type scenario_id: str :param version_id: ID of the version of the scenario, the executable belongs to :type version_id: str :param name: Name of the executable :type name: str :param deployable: Flag which defines if the executable is deployable :type deployable: bool :param created_at: Time when the executable was created :type created_at: datetime :param modified_at: Time when the executable was last modified :type modified_at: datetime :param description: Description of the executable, defaults to None :type description: str, optional :param parameters: List of the parameters of the executable, defaults to None :type parameters: List[class:ai_api_client_sdk.models.parameter.Parameter], optional :param input_artifacts: List of the input artifacts which are to be used by the executable, defaults to None :type input_artifacts: List[class:ai_api_client_sdk.models.input_artifact.InputArtifact], optional :param output_artifacts: List of the artifacts to be created by the executable, defaults to None :type output_artifacts: List[class:ai_api_client_sdk.models.output_artifact.OutputArtifact], optional :param labels: List of the labels of the executable, defaults to None :type labels: List[class:ai_api_client_sdk.models.label.Label] :param **kwargs: The keyword arguments are there in case there are additional attributes returned from server

__init__(id: str, scenario_id: str, version_id: str, name: str, deployable: bool, created_at: datetime, modified_at: datetime, description: str = None, parameters: List[Parameter] = None, input_artifacts: List[InputArtifact] = None, output_artifacts: List[OutputArtifact] = None, labels: List[Label] = None, **kwargs)
static from_dict(executable_dict: Dict[str, Any])

Returns a ai_api_client_sdk.models.executable.Executable object, created from the values in the dict provided as parameter

Parameters:

executable_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_api_client_sdk.models.executable.Executable