used to conveniently manipulate a list of models. Returned by search_models() on WizataDSAPIClient.
Attributes
| Name | Type | Description |
|---|---|---|
| models | list | list of ModelInfo instances. |
| identifiers_info | dict | dictionary of ModelIdentifierInfo keyed by identifier. |
Methods
append()
add a model to the list.
| Name | Type | Default | Description |
|---|---|---|---|
| model | ModelInfo | model to add. |
exists()
check if a model already exists in the list.
| Name | Type | Default | Description |
|---|---|---|---|
| model | ModelInfo | model to check. | |
| return: True if model exists, False otherwise. |
select_active_model()
select the active model version for a given identifier.
| Name | Type | Default | Description |
|---|---|---|---|
| identifier | str | model identifier string. | |
| return: ModelInfo of the active version. |
select_all_active_model()
select all active model versions.
return: list of ModelInfo.