uw_gws/__init__.py
def get_members(self, group_id):
        """
        Returns a list of restclients.GroupMember objects for the group
        identified by the passed group ID.
        """
        self._valid_group_id(group_id)

        url = "{}/group/{}/member".format(self.API, group_id)

        data = self._get_resource(url)

        members = []
        for datum in data.get("data"):
            members.append(self._group_member_from_json(datum))
        return members
def get_members(self, group_id):
        """
        Returns a list of restclients.GroupMember objects for the group
        identified by the passed group ID.
        """
        self._valid_group_id(group_id)

        url = "{}/group/{}/member".format(self.API, group_id)

        data = self._get_resource(url)

        members = []
        for datum in data.get("data"):
            members.append(self._group_member_from_json(datum))
        return members
def get_members ( self , group_id ) : self . _valid_group_id ( group_id ) url = "{}/group/{}/member" . format ( self . API , group_id ) data = self . _get_resource ( url ) members = [ ] for datum in data . get ( "data" ) : members . append ( self . _group_member_from_json ( datum ) ) return members
Returns a list of restclients.GroupMember objects for the group
        identified by the passed group ID.
Returns a list of restclients . GroupMember objects for the group identified by the passed group ID .