Iteration Asset Representation
IterationAssetRepresentation ¶
Represents an asset associated with an iteration.
Attributes:
Name | Type | Description |
---|---|---|
section_name |
str | None
|
The name of the section this asset belongs to. If not applicable, this can be None. |
index |
int
|
The position or order of the asset within the section. |
type |
str
|
The type of the asset, indicating whether it is a dataset version, model version, attachment, or comment. |
asset_id |
int | str | None
|
A unique identifier for the asset. |
asset_name |
str | None
|
The name of the asset. If the name is not available, this can be None. |
asset ¶
asset()
The actual asset, which could be a model version, dataset version, attachment or a comment.
Returns:
Type | Description |
---|---|
ModelVersionRepresentation | DatasetVersionRepresentation | Attachment | str | int | float | None
|
ModelVersionRepresentation | DatasetVersionRepresentation | Attachment | str | int | float | None: |
ModelVersionRepresentation | DatasetVersionRepresentation | Attachment | str | int | float | None
|
The actual asset, or |