code: def all(klass, client, **kwargs):
          
          resource = klass.RESOURCE_COLLECTION
          request = Request(client, 'get', resource, params=kwargs)
          return Cursor(klass, request, init_with=[client])
docs: Returns a Cursor instance for a given resource.