HomeGuidesAPI ReferenceChangelog
Log In
API Reference

ModelIdentifierInfo

defines metadata associated to a model identifier regardless of its alias.

Attributes

NameTypeDescription
identifierstrthe model identifier string (e.g. 'my_model' or 'my_model.twin_hw_id').
active_aliasstrthe currently active alias for this identifier.

Methods

from_json()

load the identifier info from a dict.

NameTypeDefaultDescription
json_dictdictdictionary representation.

to_json()

convert to a JSON-compatible dictionary.

return: dict representation.