accessing tasks output
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?
0
1 comment
Vladimir de Ziegler
3
accessing tasks output
AI Developer Accelerator
skool.com/ai-developer-accelerator
Master AI & software development to build apps and unlock new income streams. Transform ideas into profits. 💡➕🤖➕👨‍💻🟰💰
Leaderboard (30-day)
powered by