James Bennett Saxon07/23/2020, 1:58 AM
So I didn't want to get into debugging this because my code could be totally wrong. I was hoping to find some examples of using this and other Prefect Tasks. Are there examples for how to use this and other tasks?
ERROR:prefect.TaskRunner:Unexpected error: AttributeError('__enter__',)
Chris White07/23/2020, 2:01 AM
) so the documentation varies
Jeremiah07/23/2020, 2:03 AM
task’s code, it looks like it attempts to enter two different context managers to open a transaction - is it possible that it’s failing to connect, so
is an object like None? That code is here.
if the connection fails
James Bennett Saxon07/23/2020, 2:16 AM
Chris White07/23/2020, 2:25 AM
James Bennett Saxon07/23/2020, 4:32 AM
! Why not? Maybe I've got version issues...
Chris White07/23/2020, 3:11 PM
Jeremiah07/23/2020, 3:16 PM
James Bennett Saxon07/23/2020, 5:05 PM
Chris White07/23/2020, 5:05 PM
James Bennett Saxon07/27/2020, 4:39 PM