from traits.api import HasStrictTraits, String from ..local_traits import CUBAType class Slot(HasStrictTraits): """ Describes an input or output slot in the DataSource or KPICalculator. If the DataSource and KPICalculator are functions, slots define their argument number and types they need as input and what they return as output. """ #: A textual description of the slot description = String("No description") #: The CUBA key of the slot type = CUBAType()