def calculate_changes_for_datasets(
        discovered_datasets, desired_datasets,
    ):
Calculate the state changes necessary to make the local state match the
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/blockdevice.py/ICalculator.calculate_changes_for_datasets