zcollection.meta.Attribute#

class zcollection.meta.Attribute(name, value)[source]#

Bases: Pair

Handle the metadata of a dataset attribute.

Parameters:
  • name (str) – name of the attribute.

  • value (Any) – value of the attribute.

Attributes

name

Name of the key.

value

Value of the key.

Public Methods

from_config(data)

Create a new instance from its metadata.

Protected Methods

Inherited Methods

get_config()

Get the key/value pair configuration.