charmed-hpc / slurmutils

Utilities and APIs for interfacing with the Slurm workload manager ⚙️🔌
GNU Lesser General Public License v3.0
1 stars 3 forks source link

feat!: Make `callbacks` and `public_key` attributes public #5

Closed NucciTheBoss closed 7 months ago

NucciTheBoss commented 7 months ago

Decided to make the callback and public_key attributes "public" since I need them in the Slurm snap for processing configuration values that come in via the command line. Now linters will not complain about developers accessing the callbacks for performing additional parsing and marshalling when configuration changes come in from a different location that is not a Slurm-related configuration file.

BREAKING CHANGES: Removes the leading underscore from the callbacks and private_key attribute. This will break anyone accessing these attributes to perform operations on Slurm configuration data.