view phe/metadata/__init__.py @ 22:96f393ad7fc6 draft default tip

Uploaded
author ulfschaefer
date Wed, 23 Dec 2015 04:50:58 -0500
parents f72039c5faa4
children
line wrap: on
line source

"""Metadata related information."""

import abc

class PHEMetaData(object):
    """Abstract class to provide interface for meta-data creation."""

    __metaclass__ = abc.ABCMeta

    def __init__(self):
        pass

    @abc.abstractmethod
    def get_meta(self):
        """Get the metadata."""
        raise NotImplementedError("get meta has not been implemented yet.")