By adding a from_dict method, it makes it much easier to work with Slurm configuration information as configuration objects do not need to be constructed manually. The from_dict() constructor can take in data passed in from a Juju integration in bulk and make quick changes to the relevant configuration file.
The alternative constructor should function like the following:
By adding a
from_dict
method, it makes it much easier to work with Slurm configuration information as configuration objects do not need to be constructed manually. Thefrom_dict()
constructor can take in data passed in from a Juju integration in bulk and make quick changes to the relevant configuration file.The alternative constructor should function like the following: