def send_rec(self, result):

        # The newly created inv_send will be the first record in the "after" list
        if len(result["after"]) > 0:
            new_inv_send = result["after"].records[0]
            return new_inv_send.inv_send
        return None
simple slice
dataset/ETHPy150Open sahana/eden/modules/tests/inv/helper.py/InvTestFunctions.send_rec--crossover with--dataset/ETHPy150Open xraypy/xraylarch/lib/interpreter.py/Interpreter.on_slice