code: def get_members(self, role=github.GithubObject.NotSet):
          
          assert role is github.GithubObject.NotSet or isinstance(role, (str, unicode)), role
          url_parameters = dict()
          if role is not github.GithubObject.NotSet:
              assert role in ['member', 'maintainer', 'all']
              url_parameters["role"] = role
          return github.PaginatedList.PaginatedList(
              github.NamedUser.NamedUser,
              self._requester,
              self.url + "/members",
              url_parameters
          )
docs: :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`