@base.resource(groups.Group)
    def group(self, group_name):
        if not self.user_id:
            raise base.MethodNotSupported()

        return groups.Group(self, group_name)
Return a resource corresponding a single user's groups.
dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/bitbucket/users.py/User.group