Andrew Hannigan

12/18/2020, 7:05 PM
Extremely helpful warning messages, not sure if this is a 0.14 thing or was always there but...great stuff! Feels almost like a code review note.
Copy code
/opt/project/dwt/extract/ UserWarning: A Task was passed as an argument to BookmarkEnd, you likely want to first initialize BookmarkEnd with any static (non-Task) arguments, then call the initialized task with any dynamic (Task) arguments instead. For example:

  my_task = BookmarkEnd(...)  # static (non-Task) args go here
  res = my_task(...)  # dynamic (Task) args go here
💯 5
🤩 1

Jim Crist-Harif

12/18/2020, 7:07 PM
Thanks! This was added in 0.13.17 ( - glad it's helpful!
🙌 1