def METHOD_NAME(type):
    if type == 'HPy':
        return '_h2py'
    elif type in AUTO_CONVERSION_TYPES:
        return ''
    raise TypeError(f'cannot generate automatic conversion for type \'{type}\'')