Args:
artifact_versions: The artifact versions to create.
Returns:
The created artifact versions.
Authorizations
Body
Request model for artifact versions.
userany ofOptional
projectstring · uuidRequired
artifact_idany ofOptional
artifact_nameany ofOptional
versionany ofOptional
has_custom_namebooleanOptionalDefault: false
typestring · enumRequired
All possible types an artifact can have.
Available options:
artifact_store_idany ofOptional
uristring · max: 65535Required
materializerobjectRequired
Source specification.
A source specifies a module name as well as an optional attribute of that
module. These values can be used to import the module and get the value
of the attribute inside the module.
Example:
The source Source(module="zenml.config.source", attribute="Source")
references the class that this docstring is describing. This class is
defined in the zenml.config.source module and the name of the
attribute is the class name Source.
Attributes:
module: The module name.
attribute: Optional name of the attribute inside the module.
type: The type of the source.
data_typeobjectRequired
Source specification.
A source specifies a module name as well as an optional attribute of that
module. These values can be used to import the module and get the value
of the attribute inside the module.
Example:
The source Source(module="zenml.config.source", attribute="Source")
references the class that this docstring is describing. This class is
defined in the zenml.config.source module and the name of the
attribute is the class name Source.
Attributes:
module: The module name.
attribute: Optional name of the attribute inside the module.
type: The type of the source.
tagsany ofOptional
Should be a list of plain strings, e.g., ['tag1', 'tag2']
visualizationsany ofOptional
Request model for artifact visualization.
save_typestring · enumRequired
All possible method types of how artifact versions can be saved.