genesis/genesis.py
def projects(self):
        """Return a list :obj:`GenProject` projects.

        :rtype: list of :obj:`GenProject` projects

        """
        if not ('projects' in self.cache and self.cache['projects']):
            self.cache['projects'] = {c['id']: GenProject(c, self) for c in self.api.case.get()['objects']}

        return self.cache['projects']
def projects(self):
        """Return a list :obj:`GenProject` projects.

        :rtype: list of :obj:`GenProject` projects

        """
        if not ('projects' in self.cache and self.cache['projects']):
            self.cache['projects'] = {c['id']: GenProject(c, self) for c in self.api.case.get()['objects']}

        return self.cache['projects']
def projects ( self ) : if not ( 'projects' in self . cache and self . cache [ 'projects' ] ) : self . cache [ 'projects' ] = { c [ 'id' ] : GenProject ( c , self ) for c in self . api . case . get ( ) [ 'objects' ] } return self . cache [ 'projects' ]
Return a list :obj:`GenProject` projects.

        :rtype: list of :obj:`GenProject` projects
Return a list : obj : GenProject projects .