Skip to content

Make ParameterSource an Enum #1530

@davidism

Description

@davidism

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    f:parametersfeature: input parameter types

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions