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)
                release = Release(package=package, version=data["version"])
                release.full_clean()
                release.save()
 
            # This is an extra database call but it should prevent ShareLocks
                else:
                    break
            release.save()
 
        # Mark unsynced as deleted when bulk processing
        if self.bulk:
            for release in Release.objects.filter(package=package).exclude(version__in=self.data.keys()):
                release.hidden = True
                release.save()