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

        Args:
            milestone (github.Milestone.Milestone): Milestone object to be
                converted.

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

        """
        attr_use = ['title', 'description', 'state', 'due_on']
        out = {k: getattr(milestone, k) for k in attr_use}
        out['due_on'] = out['due_on'].strftime("%m/%d/%y")
        return out
r"""Convert Github milestone object into a dictionary.

        Args:
            milestone (github.Milestone.Milestone): Milestone object to be
                converted.

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

        
r"""Convert Github milestone object into a dictionary.
r " " " Convert Github milestone object into a dictionary .
def remote2local_milestone(self, milestone):
        attr_use = ['title', 'description', 'state', 'due_on']
        out = {k: getattr(milestone, k) for k in attr_use}
        out['due_on'] = out['due_on'].strftime("%m/%d/%y")
        return out
def remote2local_milestone ( self , milestone ) : attr_use = [ 'title' , 'description' , 'state' , 'due_on' ] out = { k : getattr ( milestone , k ) for k in attr_use } out [ 'due_on' ] = out [ 'due_on' ] . strftime ( "%m/%d/%y" ) return out
r"""Convert Github milestone object into a dictionary.
r " " " Convert Github milestone object into a dictionary .
r"""Convert Github milestone object into a dictionary.

        Args:
            milestone (github.Milestone.Milestone): Milestone object to be
                converted.

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

        """
Dictionary of data from the Github milestone.
Dictionary of data from the Github milestone .
dict
self
milestone
Milestone object to be
converted.
Milestone object to be converted .