def get_family(all_parents, current):
    yield current
    for parent in get_parents(all_parents, current):
        yield parent
    yield None
Iterate current object and its all parents recursively.
dataset/ETHPy150Open tonyseek/simple-rbac/rbac/acl.py/get_family