Ela
09/02/2022, 9:38 PMname
parameter in the task definition_"). I tried to see what's happening in the prefect.tasks.py file (which sends the warning) and I made it print out all the names in the PrefectObjectRegistry.get(). I noticed how it printed out the names of the tasks I'm using multiple times
All of this disappeared when I imported tasks/functions from a different directory than where the flow is; the flow runs only once and the warnings are gone - I'm using Prefect 2.3.1
(also when I used version 1 these double runs happened until I changed the location of the func/tasks I was importing)
I hope this makes sense, if you have any advice on why this happens, please let me know! thanks^^Anna Geller
09/10/2022, 12:33 AMEla
09/16/2022, 9:47 PMAnna Geller
09/16/2022, 10:38 PM