def get_formatter(format):
    """Returns the formatter for the given format"""
    try:
        return _FORMATTERS_REGISTER[format]
    except __HOLE__:
        raise RuntimeError('No formatter registered for format "%s"' % format)
dataset/ETHPy150Open fiam/wapi/formatters/__init__.py/get_formatter