def embed(self, rel, target, wrap=False):
        new_embed = target.as_object()
        self._add_rel('_embedded', rel, new_embed, wrap)

        if self.draft.automatic_link:
            self.add_link(rel, target, wrap)

        return self
Into helper function
dataset/ETHPy150Open wharris/dougrain/dougrain/builder.py/Builder.embed--crossover with--dataset/ETHPy150Open blaze/odo/odo/backends/mongo.py/_into_iter_mongodb