ai_api_client_sdk.models.input_artifact_binding module

class ai_api_client_sdk.models.input_artifact_binding.InputArtifactBinding(key: str, artifact_id: str, **kwargs)

Bases: object

The InputArtifactBinding object defines the input artifact specified in the configuration.

Parameters:
  • key (str) – matches the input artifact name in the executable definition

  • id (str) – ID of the artifact

  • **kwargs – The keyword arguments are there in case there are additional attributes returned from server

__init__(key: str, artifact_id: str, **kwargs)
to_dict() Dict[str, str]

Returns the attributes of the object as a dictionary

Returns:

A dict, including all the attributes of the object

Return type:

Dict[str, str]

static from_dict(input_artifact_binding_dict: Dict[str, str])

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

Parameters:

input_artifact_binding_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.input_artifact_binding.InputArtifactBinding