Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/c/r/crate.pypi-HEAD/crate/pypi/processor.py   crate.pypi(Download)
        releases = Release.objects.filter(package__in=packages)
 
        for rf in ReleaseFile.objects.filter(release__in=releases, filename__in=files):
            rf.hidden = True
            rf.save()
                            m.save(force_insert=True)
                elif key == "files":
                    files = ReleaseFile.objects.filter(release=release)
                    filenames = dict([(x.filename, x) for x in files])
 
 
                    if filenames:
                        for rf in ReleaseFile.objects.filter(pk__in=[f.pk for f in filenames.values()]):
                            rf.hidden = True
                            rf.save()