def send_get_id(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.id
        return None
Duplicate packages are not yielded when iterating over namespace
dataset/ETHPy150Open sahana/eden/modules/tests/inv/helper.py/InvTestFunctions.send_get_id--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_modules.py/BasicTests.test_namespacedPackages