code: def grants(self):
          
          from linode_api4.objects.account import UserGrants
          if not hasattr(self, '_grants'):
              resp = self._client.get(UserGrants.api_endpoint.format(username=self.username))
  
              grants = UserGrants(self._client, self.username, resp)
              self._set('_grants', grants)
  
          return self._grants
docs: Retrieves the grants for this user.  If the user is unrestricted, this
          will result in an ApiError.  This is smart, and will only fetch from the
          api once unless the object is invalidated.
  
          :returns: The grants for this user.
          :rtype: linode.objects.account.UserGrants