def add_description(description):
    """
    A decorator that adds a description to a function.
    """

    def inner(func):
        func.description = description
        func.name = func.__name__
        return func

    return inner

    A decorator that adds a description to a function.
    
dpkd/transformers/src/transformers/tools/base.py