def process_request(self, request):
        request.check_ownership = partial(acl.check_ownership, request)

        # Persist the user in the thread to make it accessible in log()
        # statements etc.
        if request.user.is_authenticated():
            amo.set_user(request.user)
Leaves of an expression skipping all operations of type ``types``
dataset/ETHPy150Open mozilla/addons-server/src/olympia/access/middleware.py/ACLMiddleware.process_request--crossover with--dataset/ETHPy150Open blaze/blaze/blaze/expr/broadcast.py/leaves_of_type