def repo_issue_params(milestone=None, state=None, assignee=None, mentioned=None, labels=None, sort=None, direction=None, since=None, number=(-1), etag=None):
 params = {u'assignee': assignee, u'mentioned': mentioned}
 if ((milestone in (u'*', u'none')) or isinstance(milestone, int)):
  params[u'milestone'] = milestone
 Repository._remove_none(params)
 params.update(issue_params(None, state, labels, sort, direction, since))
 return params

def repo_issue_params ( milestone = None , state = None , assignee = None , mentioned = None , labels = None , sort = None , direction = None , since = None , number = ( - 1 ) , etag = None ) : params = { u'assignee' : assignee , u'mentioned' : mentioned } if ( ( milestone in ( u'*' , u'none' ) ) or isinstance ( milestone , int ) ) : params [ u'milestone' ] = milestone Repository . _remove_none ( params ) params . update ( issue_params ( None , state , labels , sort , direction , since ) ) return params
validate and filter issue method parameters in one place .