def get_members(self, role=github.GithubObject.NotSet):
assert role is github.GithubObject.NotSet or isinstance(role, (str, unicode)), role<EOL>url_parameters = dict()<EOL>if role is not github.GithubObject.NotSet:<EOL><INDENT>assert role in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT:all>']<EOL>url_parameters["<STR_LIT>"] = role<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 /teams/:id/members <https://developer.github.com/v3/teams/members/#list-team-members>`_
:param role: string
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.NamedUser.NamedUser`