base#

Base class of any column map.

Classes#

Functions#

mapper_from_glossary(→ ColumnMap)

Given a class name and purpose, creates a class of that name as a specialization of

Module Contents#

class ColumnMap(name: str, purpose: str)[source]#
name: str = 'Name of column map'[source]#
purpose: str = 'Purpose of map'[source]#
mapper_from_glossary(class_name: str, purpose: str, glossary_yaml: pathlib.Path) ColumnMap[source]#

Given a class name and purpose, creates a class of that name as a specialization of ColumnMap whose attributes are read-only properties informed by the elements of the glossary that specify a variable and an id.