def get_issues(self, milestone=github.GithubObject.NotSet, state=github.GithubObject.NotSet, assignee=github.GithubObject.NotSet, mentioned=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, sort=github.GithubObject.NotSet, direction=github.GithubObject.NotSet, since=github.GithubObject.NotSet, creator=github.GithubObject.NotSet):
assert milestone is github.GithubObject.NotSet or milestone == "<STR_LIT:*>" or milestone == "<STR_LIT:none>" or isinstance(milestone, github.Milestone.Milestone), milestone<EOL>assert state is github.GithubObject.NotSet or isinstance(state, (str, unicode)), state<EOL>assert assignee is github.GithubObject.NotSet or isinstance(assignee, github.NamedUser.NamedUser) or isinstance(assignee, (str, unicode)), assignee<EOL>assert mentioned is github.GithubObject.NotSet or isinstance(mentioned, github.NamedUser.NamedUser), mentioned<EOL>assert labels is github.GithubObject.NotSet or all(isinstance(element, github.Label.Label) for element in labels), labels<EOL>assert sort is github.GithubObject.NotSet or isinstance(sort, (str, unicode)), sort<EOL>assert direction is github.GithubObject.NotSet or isinstance(direction, (str, unicode)), direction<EOL>assert since is github.GithubObject.NotSet or isinstance(since, datetime.datetime), since<EOL>assert creator is github.GithubObject.NotSet or isinstance(creator, github.NamedUser.NamedUser) or isinstance(creator, (str, unicode)), creator<EOL>url_parameters = dict()<EOL>if milestone is not github.GithubObject.NotSet:<EOL><INDENT>if isinstance(milestone, (str, unicode)):<EOL><INDENT>url_parameters["<STR_LIT>"] = milestone<EOL><DEDENT>else:<EOL><INDENT>url_parameters["<STR_LIT>"] = milestone._identity<EOL><DEDENT><DEDENT>if state is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT:state>"] = state<EOL><DEDENT>if assignee is not github.GithubObject.NotSet:<EOL><INDENT>if isinstance(assignee, (str, unicode)):<EOL><INDENT>url_parameters["<STR_LIT>"] = assignee<EOL><DEDENT>else:<EOL><INDENT>url_parameters["<STR_LIT>"] = assignee._identity<EOL><DEDENT><DEDENT>if mentioned is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = mentioned._identity<EOL><DEDENT>if labels is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = "<STR_LIT:U+002C>".join(label.name for label in labels)<EOL><DEDENT>if sort is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = sort<EOL><DEDENT>if direction is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = direction<EOL><DEDENT>if since is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = since.strftime("<STR_LIT>")<EOL><DEDENT>if creator is not github.GithubObject.NotSet:<EOL><INDENT>if isinstance(creator, (str, unicode)):<EOL><INDENT>url_parameters["<STR_LIT>"] = creator<EOL><DEDENT>else:<EOL><INDENT>url_parameters["<STR_LIT>"] = creator._identity<EOL><DEDENT><DEDENT>return github.PaginatedList.PaginatedList(<EOL>github.Issue.Issue,<EOL>self._requester,<EOL>self.url + "<STR_LIT>",<EOL>url_parameters<EOL>)<EOL>
:calls: `GET /repos/:owner/:repo/issues <http://developer.github.com/v3/issues>`_
:param milestone: :class:`github.Milestone.Milestone` or "none" or "*"
:param state: string. `open`, `closed`, or `all`. If this is not set the GitHub API default behavior will be used. At the moment this is to return only open issues. This might change anytime on GitHub API side and it could be clever to explicitly specify the state value.
:param assignee: string or :class:`github.NamedUser.NamedUser` or "none" or "*"
:param mentioned: :class:`github.NamedUser.NamedUser`
:param labels: list of :class:`github.Label.Label`
:param sort: string
:param direction: string
:param since: datetime.datetime
:param creator: string or :class:`github.NamedUser.NamedUser`
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue`