Andrew Miller
07/28/2022, 6:22 PMTasks cannot be run outside of a flow. To call the underlying task function outside of a flow useI triedtask.fn()
with prefect_test_harness():
but no luck...
Ah. Never mind, I should have been reading the error more. Calling fn
instead of run
fixes old test cases.Nate
07/28/2022, 6:26 PMAnna Geller
07/28/2022, 6:26 PM