The parameter classes (e.g. CategoricalParameter) do not have to be public since the intended way of building a domain is by gradually adding parameter with the .add_float, .add_int, add_category etc. functions.
Solution
Make these parameters private; e.g. _CategoricalParameter.
The problem
The parameter classes (e.g.
CategoricalParameter
) do not have to be public since the intended way of building a domain is by gradually adding parameter with the.add_float
,.add_int
,add_category
etc. functions.Solution
Make these parameters private; e.g.
_CategoricalParameter
.