def yield_expanded(iterable):
    already_yielded = set()
    base = Path(app.static_folder)
    for element in iterable:
        if isinstance(element, Special):
            yield element
            continue
        for atom in sorted(base.relpathto(expanded) for expanded in glob(base/element)):
            if atom in already_yielded:
                continue
            already_yielded.add(atom)
            yield atom
dataset/ETHPy150Open fusic-com/flask-todo/backend/assets.py/yield_expanded/original