human
Complete the below
def idempotent_id(id):

    ''''Stub for metadata decorator'
    '''
 What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    if (not isinstance(id, six.string_types)):
        raise TypeError(('Test    idempotent_id    must    be    string    not    %s' % type(id).__name__))
    uuid.UUID(id)
    def decorator(f):
        f = testtools.testcase.attr(('id-%s' % id))(f)
        if f.__doc__:
            f.__doc__ = ('Test    idempotent    id:    %s\n%s' % (id, f.__doc__))
        else:
            f.__doc__ = ('Test    idempotent    id:    %s' % id)
        return f
    return decorator