| |
- builtins.object
-
- Configuration
class Configuration(builtins.object) |
|
Configuration(id: str, name: str, scenario_id: str, executable_id: str, created_at: datetime.datetime, parameter_bindings: List[ai_api_client_sdk.models.parameter_binding.ParameterBinding] = None, input_artifact_bindings: List[ai_api_client_sdk.models.input_artifact_binding.InputArtifactBinding] = None, scenario: ai_api_client_sdk.models.scenario.Scenario = None, **kwargs)
The Configuration object defines a configuration
:param id: ID of the configuration
:type id: str
:param name: Name of the configuration
:type name: str
:param scenario_id: ID of the scenario which the configuration belongs to
:type scenario_id: str
:param executable_id: ID of the executable, which is configured
:type executable_id: str
:param created_at: Time when the configuration was created
:type created_at: datetime
:param parameter_bindings: List of the input parameters defined as key-value pairs, defaults to None
:type parameter_bindings: List[class:`ai_api_client_sdk.models.parameter_binding.ParameterBinding`], optional
:param input_artifact_bindings: List of the input artifacts which are to be used by the executable, defaults to None
:type input_artifact_bindings: List[class:`ai_api_client_sdk.models.input_artifact_binding.InputArtifactBinding`],
optional
:param scenario: A dict, which gives detailed information on scenario, defaults to None
:type scenario: class:`ai_api_client_sdk.models.scenario.Scenario`, optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server |
|
Methods defined here:
- __init__(self, id: str, name: str, scenario_id: str, executable_id: str, created_at: datetime.datetime, parameter_bindings: List[ai_api_client_sdk.models.parameter_binding.ParameterBinding] = None, input_artifact_bindings: List[ai_api_client_sdk.models.input_artifact_binding.InputArtifactBinding] = None, scenario: ai_api_client_sdk.models.scenario.Scenario = None, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods defined here:
- from_dict(configuration_dict: Dict[str, Any])
- Returns a :class:`ai_api_client_sdk.models.configuration.Configuration` object, created from the values in the
dict provided as parameter
:param configuration_dict: Dict which includes the necessary values to create the object
:type configuration_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.configuration.Configuration`
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |