catherder/classes.py
def remote2local_issue(self, issue):
        r"""Convert Github issue object into a dictionary.

        Args:
            issue (github.Issue.Issue): Issue object to be converted.

        Returns:
            dict: Dictionary of data from the Github issue.

        """
        attr_use = ['title', 'body', 'milestone', 'assignees', 'state']
        out = {k: getattr(issue, k) for k in attr_use}
        if out['milestone']:
            out['milestone'] = out['milestone'].title
        if out['assignees']:
            out['assignees'] = [x.login for x in out['assignees']]
        out['body'] = out['body'].replace('\r\n', '\n')
        out['column'] = self.get_card(issue=issue, return_column=True).name
        return out
r"""Convert Github issue object into a dictionary.

        Args:
            issue (github.Issue.Issue): Issue object to be converted.

        Returns:
            dict: Dictionary of data from the Github issue.

        
r"""Convert Github issue object into a dictionary.
r " " " Convert Github issue object into a dictionary .
def remote2local_issue(self, issue):
        attr_use = ['title', 'body', 'milestone', 'assignees', 'state']
        out = {k: getattr(issue, k) for k in attr_use}
        if out['milestone']:
            out['milestone'] = out['milestone'].title
        if out['assignees']:
            out['assignees'] = [x.login for x in out['assignees']]
        out['body'] = out['body'].replace('\r\n', '\n')
        out['column'] = self.get_card(issue=issue, return_column=True).name
        return out
def remote2local_issue ( self , issue ) : attr_use = [ 'title' , 'body' , 'milestone' , 'assignees' , 'state' ] out = { k : getattr ( issue , k ) for k in attr_use } if out [ 'milestone' ] : out [ 'milestone' ] = out [ 'milestone' ] . title if out [ 'assignees' ] : out [ 'assignees' ] = [ x . login for x in out [ 'assignees' ] ] out [ 'body' ] = out [ 'body' ] . replace ( '\r\n' , '\n' ) out [ 'column' ] = self . get_card ( issue = issue , return_column = True ) . name return out
r"""Convert Github issue object into a dictionary.
r " " " Convert Github issue object into a dictionary .
r"""Convert Github issue object into a dictionary.

        Args:
            issue (github.Issue.Issue): Issue object to be converted.

        Returns:
            dict: Dictionary of data from the Github issue.

        """
Dictionary of data from the Github issue.
Dictionary of data from the Github issue .
dict
self
issue
Issue object to be converted.
Issue object to be converted .