@classmethod
def search(cls, client=None, includes=True):
    """A search query for all uploads.

        Return an `Search` instance for searching image uploads.

        Parameters
        ----------
        includes : bool
            Controls the inclusion of events. If True, includes these objects.
            If False, no events are included. Defaults to True.
        client : :class:`CatalogClient`, optional
            A `CatalogClient` instance to use for requests to the Descartes Labs
            catalog.

        Returns
        -------
        :class:`~descarteslabs.catalog.search.Search`
            An instance of the `Search` class

        Example
        -------
        >>> from descarteslabs.catalog import properties as p
        >>> search = ImageUpload.search().filter(p.status == ImageUploadStatus.FAILURE)
        >>> for result in search:
                print(result)

        """
    from .search import Search
    return Search(cls, client=client, includes=includes)
