ai_api_client_sdk.models.configuration module¶
- class ai_api_client_sdk.models.configuration.Configuration(id: str, name: str, scenario_id: str, executable_id: str, created_at: datetime, parameter_bindings: List[ParameterBinding] = None, input_artifact_bindings: List[InputArtifactBinding] = None, scenario: Scenario = None, **kwargs)¶
Bases:
objectThe Configuration object defines a configuration
- Parameters:
id (str) – ID of the configuration
name (str) – Name of the configuration
scenario_id (str) – ID of the scenario which the configuration belongs to
executable_id (str) – ID of the executable, which is configured
created_at (datetime) – Time when the configuration was created
parameter_bindings (List[class:ai_api_client_sdk.models.parameter_binding.ParameterBinding], optional) – List of the input parameters defined as key-value pairs, defaults to None
input_artifact_bindings (List[class:ai_api_client_sdk.models.input_artifact_binding.InputArtifactBinding], optional) – List of the input artifacts which are to be used by the executable, defaults to None
scenario (class:ai_api_client_sdk.models.scenario.Scenario, optional) – A dict, which gives detailed information on scenario, defaults to None
**kwargs – The keyword arguments are there in case there are additional attributes returned from server
- __init__(id: str, name: str, scenario_id: str, executable_id: str, created_at: datetime, parameter_bindings: List[ParameterBinding] = None, input_artifact_bindings: List[InputArtifactBinding] = None, scenario: Scenario = None, **kwargs)¶
- static from_dict(configuration_dict: Dict[str, Any])¶
Returns a
ai_api_client_sdk.models.configuration.Configurationobject, created from the values in the dict provided as parameter- Parameters:
configuration_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.configuration.Configuration