Skip to content

Cluster classes accept any named parameters without error #386

Description

@lesteve
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions