app/models/trait.py
def data(self):
        """
        Returns a dict with the basic details
        """
        return {
            'type': None,
            'name': self.name,
            'desc': self.desc,
            'defn': self.defn,
        }

        Returns a dict with the basic details
        
Returns a dict with the basic details
Returns a dict with the basic details
def data(self):
        return {
            'type': None,
            'name': self.name,
            'desc': self.desc,
            'defn': self.defn,
        }
def data ( self ) : return { 'type' : None , 'name' : self . name , 'desc' : self . desc , 'defn' : self . defn , }
Returns a dict with the basic details
Returns a dict with the basic details
"""
        Returns a dict with the basic details
        """
self