@contextlib.contextmanager
def tmpdir():
    tempdir = tempfile.mkdtemp()
    try:
        yield tempdir
    finally:
        rmtree(tempdir)
Query by mbid.
dataset/ETHPy150Open pre-commit/pre-commit/pre_commit/util.py/tmpdir--crossover with--dataset/ETHPy150Open YetAnotherNerd/whatlastgenre/wlg/dataprovider.py/RateYourMusic.query_by_mbid