def _get ( self, object, name, trait ):
        value  = self.get_value( object, name, trait )
        values = eval( self.values )
        if value not in values:
            value = None
            if len( values ) > 0:
                value = values[0]

        return value
Returns the current value of a dynamic enum trait.
dataset/ETHPy150Open enthought/traits/traits/trait_types.py/BaseEnum._get