def check_object_permissions(self, request, obj):

        for permission in self.default_permission_classes:
            if not permission().has_object_permission(request, self, obj):
                return False

        for permission in self.permission_classes:
            if not permission().has_object_permission(request, self, obj):
                return False

        return True
Return the hash digest of a file.
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/views/mixins.py/BaseMixin.check_object_permissions--crossover with--dataset/ETHPy150Open pypa/pip/pip/commands/hash.py/_hash_of_file