Skip to content

datainfo

datainfo

module for datainfo class

Classes

DataInfo dataclass

Bases: ABC

Abstract class for a data info which is used in the GenericDataSet

Functions
get_identifier abstractmethod
get_identifier()

Returns the unique identifier for the data info

Source code in niceml/data/datainfos/datainfo.py
@abstractmethod
def get_identifier(self) -> str:
    """Returns the unique identifier for the data info"""
get_info_dict abstractmethod
get_info_dict()

Returns a dict with all information of the data info

Source code in niceml/data/datainfos/datainfo.py
@abstractmethod
def get_info_dict(self) -> dict:
    """Returns a dict with all information of the data info"""