| |
- builtins.object
-
- Executable
class Executable(builtins.object) |
|
Executable(id: str, scenario_id: str, version_id: str, name: str, deployable: bool, created_at: datetime.datetime, modified_at: datetime.datetime, description: str = None, parameters: List[ai_api_client_sdk.models.parameter.Parameter] = None, input_artifacts: List[ai_api_client_sdk.models.input_artifact.InputArtifact] = None, output_artifacts: List[ai_api_client_sdk.models.output_artifact.OutputArtifact] = None, labels: List[ai_api_client_sdk.models.label.Label] = None, **kwargs)
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 |
|
Methods defined here:
- __eq__(self, other)
- Return self==value.
- __init__(self, id: str, scenario_id: str, version_id: str, name: str, deployable: bool, created_at: datetime.datetime, modified_at: datetime.datetime, description: str = None, parameters: List[ai_api_client_sdk.models.parameter.Parameter] = None, input_artifacts: List[ai_api_client_sdk.models.input_artifact.InputArtifact] = None, output_artifacts: List[ai_api_client_sdk.models.output_artifact.OutputArtifact] = None, labels: List[ai_api_client_sdk.models.label.Label] = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(executable_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.executable.Executable` object, created from the values in the dict
provided as parameter
:param executable_dict: Dict which includes the necessary values to create the object
:type executable_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.executable.Executable`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes defined here:
- __hash__ = None
| |