app/models/trait.py
def data(self):
        """
        Returns a dict with the basic details
        """
        details = super(LinearTrait, self).data()
        details.update({
            'type': 'scale',
            'neg': self.neg_name,
            'pos': self.pos_name,
        })
        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(LinearTrait, self).data()
        details.update({
            'type': 'scale',
            'neg': self.neg_name,
            'pos': self.pos_name,
        })
        return details
def data ( self ) : details = super ( LinearTrait , self ) . data ( ) details . update ( { 'type' : 'scale' , 'neg' : self . neg_name , 'pos' : self . pos_name , } ) return details
Returns a dict with the basic details
Returns a dict with the basic details
"""
        Returns a dict with the basic details
        """
self