def get_collaborators(self, affiliation=github.GithubObject.NotSet):
url_parameters = dict()<EOL>allowed_affiliations = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT:all>']<EOL>if affiliation is not github.GithubObject.NotSet:<EOL><INDENT>assert isinstance(affiliation, str), affiliation<EOL>assert affiliation in allowed_affiliations,'<STR_LIT>' + '<STR_LIT:U+002CU+0020>'.join(allowed_affiliations)<EOL>url_parameters['<STR_LIT>'] = affiliation<EOL><DEDENT>return github.PaginatedList.PaginatedList(<EOL>github.NamedUser.NamedUser,<EOL>self._requester,<EOL>self.url + "<STR_LIT>",<EOL>url_parameters<EOL>)<EOL>
:calls: `GET /repos/:owner/:repo/collaborators <http://developer.github.com/v3/repos/collaborators>`_
:param affiliation: string
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`