zcollection.meta.Dimension#

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

Bases: Pair

Handle the metadata of a dataset dimension.

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

  • value (Any) – value of the dimension.

Attributes

name

Name of the key.

value

Value of the key.

Public Methods

from_config(data)

Creates a new instance from its metadata.

Protected Methods

Inherited Methods

get_config()

Get the key/value pair configuration.