Skip to content
Snippets Groups Projects
Commit e8bc0c4d authored by martinRenou's avatar martinRenou
Browse files

Fix name trait of the BaseMCOParameter

parent 55cdf912
No related branches found
No related tags found
1 merge request!88Fix name trait of the BaseMCOParameter
...@@ -2,6 +2,7 @@ from traits.api import HasStrictTraits, String, Instance ...@@ -2,6 +2,7 @@ from traits.api import HasStrictTraits, String, Instance
from force_bdss.mco.parameters.base_mco_parameter_factory import \ from force_bdss.mco.parameters.base_mco_parameter_factory import \
BaseMCOParameterFactory BaseMCOParameterFactory
from force_bdss.local_traits import Identifier
class BaseMCOParameter(HasStrictTraits): class BaseMCOParameter(HasStrictTraits):
...@@ -14,7 +15,7 @@ class BaseMCOParameter(HasStrictTraits): ...@@ -14,7 +15,7 @@ class BaseMCOParameter(HasStrictTraits):
factory = Instance(BaseMCOParameterFactory, visible=False, transient=True) factory = Instance(BaseMCOParameterFactory, visible=False, transient=True)
#: A user defined name for the parameter #: A user defined name for the parameter
name = String(visible=False) name = Identifier(visible=False)
#: A CUBA key describing the type of the parameter #: A CUBA key describing the type of the parameter
type = String(visible=False) type = String(visible=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment