Skip to content

hopsworks.tag #

Tag #

Represents a tag in Hopsworks.

Each tag is a name-value pair, where the name is a string and the value is a JSON-serializable object of the tag's schema. Tags are used to attach metadata to various entities in Hopsworks; namely feature groups, feature views, training datasets, and models.

For backwards compatibility hopsworks.tag.Tag is still available as hsfs.tag.Tag, hsml.tag.Tag. The use of these aliases is discouraged as they are to be deprecated.

created_on property #

created_on: datetime | None

When the tag was attached, as an aware UTC datetime.

None for a tag attached before Hopsworks recorded attachment times, and for legacy per-file dataset tags, which are stored as HopsFS extended attributes and carry no timestamp. None therefore means the attachment time is unknown, not that the tag is new.

name property writable #

name: str

Name of the tag.

value property writable #

value: Any

Value of the tag.