app/models/group.py
def details(self, include=None):
        """
        Returns a dict with the choice's details
        """
        details = self.data()

        if include is None:
            pass
        elif include['group_name']:
            return self.name
        include['group'] = False

        if include['trait']:
            details.update({
                'traits': [trait.details(include) for trait in self.traits]
            })
        return details

        Returns a dict with the choice's details
        
Returns a dict with the choice's details
Returns a dict with the choice ' s details
def details(self, include=None):
        details = self.data()
        if include is None:
            pass
        elif include['group_name']:
            return self.name
        include['group'] = False
        if include['trait']:
            details.update({
                'traits': [trait.details(include) for trait in self.traits]
            })
        return details
def details ( self , include = None ) : details = self . data ( ) if include is None : pass elif include [ 'group_name' ] : return self . name include [ 'group' ] = False if include [ 'trait' ] : details . update ( { 'traits' : [ trait . details ( include ) for trait in self . traits ] } ) return details
Returns a dict with the choice's details
Returns a dict with the choice ' s details
"""
        Returns a dict with the choice's details
        """
self
include