from dask_jobqueue import SLURMCluster
cluster = SLURMCluster(cores=1, memory='4GB', this_parameter='does_not_make_sense')
I would expect an error somewhere saying that this_parameter is not a valid parameter. Instead it is silently ignored.
I think the cluster classes accept a **kwargs that is generally not used. This is probably done like this so that the parameters of JobQueueCluster can be used in the derived class. My feeling is that the **kwargs can be removed either from JobQueueCluster or the derived cluster classes. Even if I am wrong, my hope is that there must be a way to have a good error message.
I would expect an error somewhere saying that
this_parameteris not a valid parameter. Instead it is silently ignored.I think the cluster classes accept a
**kwargsthat is generally not used. This is probably done like this so that the parameters ofJobQueueClustercan be used in the derived class. My feeling is that the**kwargscan be removed either fromJobQueueClusteror the derived cluster classes. Even if I am wrong, my hope is that there must be a way to have a good error message.