def usage(usage_string):
    def decorate(func):
        func.usage = usage_string
        return func
    return decorate
Decorator to add a usage string to a function
dataset/ETHPy150Open Shopify/shopify_python_api/scripts/shopify_api.py/usage