zcollection.meta.Attribute.from_config#

static Attribute.from_config(data)[source]#

Create a new instance from its metadata.

Parameters:

data (tuple[str, Any]) – attribute configuration.

Returns:

a new attribute.

Return type:

Attribute