app/models/trait.py
def data(self):
        """
        Returns a dict with the basic details
        """
        details = super(BasicTrait, self).data()
        details.update({
            'type': 'basic',
            'default_num': self.default_num
        })
        return details

        Returns a dict with the basic details
        
Returns a dict with the basic details
Returns a dict with the basic details
def data(self):
        details = super(BasicTrait, self).data()
        details.update({
            'type': 'basic',
            'default_num': self.default_num
        })
        return details
def data ( self ) : details = super ( BasicTrait , self ) . data ( ) details . update ( { 'type' : 'basic' , 'default_num' : self . default_num } ) return details
Returns a dict with the basic details
Returns a dict with the basic details
"""
        Returns a dict with the basic details
        """
self