defines metadata associated to a model identifier regardless of its alias.
Attributes
| Name | Type | Description |
|---|---|---|
| identifier | str | the model identifier string (e.g. 'my_model' or 'my_model.twin_hw_id'). |
| active_alias | str | the currently active alias for this identifier. |
Methods
from_json()
load the identifier info from a dict.
| Name | Type | Default | Description |
|---|---|---|---|
| json_dict | dict | dictionary representation. |
to_json()
convert to a JSON-compatible dictionary.
return: dict representation.