Hi everyone - What's to best practice to loop through tasks output to build off pydantic objects off of them?
context:
- I have an object ContentCreator that contains a object lists. (e.g. LifeEvents is a list of LifeEvent objects)
- Each task is ragging a database to retrieve each object (e.g. different LifeEvent objects)
- Each of these tasks returns a pydantic output (ie. ContentCreator)
- But then when I try to call the output pydantic at the end of crew, I dont get the consolidated ContentCreator object. How come?
What's the best way to do that?