get_dask_lock

Contents

get_dask_lock#

get_dask_lock(name)[source]#

Get a dask lock with given name. This lock uses the default client if existing; or create a local cluster (get_or_create_dask_client) otherwise. :param name: The name of the lock

Returns: