def imageusage(self, namespace=None, filterredir='all', redirect=False,
                   limit=None, generator=True):
        prefix = mwclient.listing.List.get_prefix('iu', generator)
        kwargs = dict(mwclient.listing.List.generate_kwargs(prefix, title=self.name, namespace=namespace, filterredir=filterredir))
        if redirect:
            kwargs['%sredirect' % prefix] = '1'
        return mwclient.listing.List.get_list(generator)(self.site, 'imageusage', 'iu', limit=limit, return_values='title', **kwargs)
List pages that use the given file.
dataset/ETHPy150Open mwclient/mwclient/mwclient/image.py/Image.imageusage