catherder/classes.py
def github_project_map(self):
        r"""dict: Mapping from column name to dictionaries describing
        each column."""
        if self._github_project_map is None:
            self._github_project_map = OrderedDict([])
            for x in self.github_project.get_columns():
                self._github_project_map[x.name] = OrderedDict([
                    ('column', x),
                    ('cards', OrderedDict()),
                    ('issue2card', OrderedDict())])
                for card in x.get_cards(archived_state='all'):
                    issue_url = card.content_url
                    issue_num = None
                    if issue_url:
                        issue_num = int(issue_url.split('/')[-1])
                        self._github_project_map[x.name]['issue2card'][
                            issue_num] = card
                    self._github_project_map[x.name]['cards'][card.id] = {
                        'issue': issue_num,
                        'card': card}
        return self._github_project_map
r"""dict: Mapping from column name to dictionaries describing
        each column.
r"""dict: Mapping from column name to dictionaries describing
each column.
r " " " dict : Mapping from column name to dictionaries describing each column .
def github_project_map(self):
        if self._github_project_map is None:
            self._github_project_map = OrderedDict([])
            for x in self.github_project.get_columns():
                self._github_project_map[x.name] = OrderedDict([
                    ('column', x),
                    ('cards', OrderedDict()),
                    ('issue2card', OrderedDict())])
                for card in x.get_cards(archived_state='all'):
                    issue_url = card.content_url
                    issue_num = None
                    if issue_url:
                        issue_num = int(issue_url.split('/')[-1])
                        self._github_project_map[x.name]['issue2card'][
                            issue_num] = card
                    self._github_project_map[x.name]['cards'][card.id] = {
                        'issue': issue_num,
                        'card': card}
        return self._github_project_map
def github_project_map ( self ) : if self . _github_project_map is None : self . _github_project_map = OrderedDict ( [ ] ) for x in self . github_project . get_columns ( ) : self . _github_project_map [ x . name ] = OrderedDict ( [ ( 'column' , x ) , ( 'cards' , OrderedDict ( ) ) , ( 'issue2card' , OrderedDict ( ) ) ] ) for card in x . get_cards ( archived_state = 'all' ) : issue_url = card . content_url issue_num = None if issue_url : issue_num = int ( issue_url . split ( '/' ) [ - 1 ] ) self . _github_project_map [ x . name ] [ 'issue2card' ] [ issue_num ] = card self . _github_project_map [ x . name ] [ 'cards' ] [ card . id ] = { 'issue' : issue_num , 'card' : card } return self . _github_project_map
r"""dict: Mapping from column name to dictionaries describing
each column.
r " " " dict : Mapping from column name to dictionaries describing each column .
r"""dict: Mapping from column name to dictionaries describing
        each column."""
self