core.ParameterSource was implemented as fake enum for compatibility with Python 2. Replace this with a simple enum.Enum now that we support Python >= 3.6. Can remove the ParameterSource.validate method too, it was just for ensuring the enum values were used.
core.ParameterSourcewas implemented as fake enum for compatibility with Python 2. Replace this with a simpleenum.Enumnow that we support Python >= 3.6. Can remove theParameterSource.validatemethod too, it was just for ensuring the enum values were used.