def priority(num):
    def add_priority(fn):
        fn.priority = num
        return fn
    return add_priority
Decorator to add a `priority` attribute to the function.
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/cliutil.py/priority