def get_file_hash(file):
    hasher = hashlib.md5()
    hasher.update(file.read())
    hash_value = hasher.hexdigest()
    return hash_value
Get all cluster templates filtered by **kwargs.
dataset/ETHPy150Open nasa-gibs/onearth/src/test/oe_test_utils.py/get_file_hash--crossover with--dataset/ETHPy150Open openstack/sahara/sahara/conductor/manager.py/ConductorManager.cluster_template_get_all