Adds method 'change_issue_milestone' that allows to update or remove milestone of an issue
Counterpart of https://pagure.io/pagure/pull-request/2124
we can have the issue_id in the above line itself?
issue_id
we should check the type of the milestone is str or None.
str
None
Looks good to me other than the comments posted
Do you mean payload = {} if milestone is None else {'milestone': milestone}
payload = {} if milestone is None else {'milestone': milestone}
or
raising TypeErrror earlier?
updated
rebased
LGTM. :thumbsup:
Pull-Request has been merged by sayanchowdhury
Adds method 'change_issue_milestone' that allows to update or remove milestone of an issue
Counterpart of https://pagure.io/pagure/pull-request/2124