def sync_keys(dsk1, dsk2):

    return _sync_keys(dsk1, dsk2, toposort(dsk2))
Return a dict matching keys in `dsk2` to equivalent keys in `dsk1`.
dataset/ETHPy150Open dask/dask/dask/optimize.py/sync_keys