human
Complete the below
def _create_single_feature_method(feature, enum):

    ''''Return a function that will detect a single feature.
    Args:
    feature (str): A specific feature defined as an attribute on
    :class:`~enums.Feature.Type`.
    enum (class): The :class:`~enums.Feature.Type` class.
    Returns:
    function: A helper function to detect just that feature.'
    '''

=====
Give me a the Python program you requested?
assistant
#Here is the Python program you requested.
    fx_name = feature.lower()
    if ('detection' in fx_name):
        fx_doc = 'Perform    {0}.'.format(fx_name.replace('_', '    '))
    else:
        fx_doc = 'Return    {desc}    information.'.format(desc=fx_name.replace('_', '    '))
    fx_doc += '\n\n                Args:\n                                image    (:class:`~.{module}.types.Image`):    The    image    to    analyze.\n                                options    (:class:`google.gax.CallOptions`):    Overrides    the\n                                                default    settings    for    this    call,    e.g,    timeout,    retries,    etc.\n                                kwargs    (dict):    Additional    properties    to    be    set    on    the\n                                                :class:`~.{module}.types.AnnotateImageRequest`.\n\n                Returns:\n                                :class:`~.{module}.types.AnnotateImageResponse`:    The    API    response.\n                '
    feature_value = {'type': enum.__dict__[feature]}
    def inner(self, image, options=None, **kwargs):
        'Return    a    single    feature    annotation    for    the    given    image.\n\n                                Intended    for    use    with    functools.partial,    to    create    the    particular\n                                single-feature    methods.\n                                '
        request = dict(image=image, features=[feature_value], **kwargs)
        return self.annotate_image(request, options=options)
    inner.__name__ = fx_name
    inner.__doc__ = fx_doc
    return inner