def _blockdevice_volume_from_datasetid(volumes, dataset_id):
    for volume in volumes:
        if volume.dataset_id == dataset_id:
            return volume
target dialect accepts a datetime object as the target
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/blockdevice.py/_blockdevice_volume_from_datasetid--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/requirements.py/SuiteRequirements.date_coerces_from_datetime